summaryrefslogtreecommitdiff
path: root/Cython/Utils.py
diff options
context:
space:
mode:
authorMinRK <benjaminrk@gmail.com>2012-05-31 10:49:25 -0700
committerMinRK <benjaminrk@gmail.com>2012-05-31 10:53:31 -0700
commitfac2617b041ab951b8c1c62bd96ef78c58c182db (patch)
treeaff0444603c2229f11e3f9d7680c9d34bb5ca701 /Cython/Utils.py
parent82b1c99beb0f06bdd24acb733cac2c0f69aa69e3 (diff)
downloadcython-fac2617b041ab951b8c1c62bd96ef78c58c182db.tar.gz
store inline cython in cache/inline
allows orthogonal data to be put in the cache dir. default inline location unchanged (~.cython/inline), but get_cython_dir() is .cython, not .cython/inline.
Diffstat (limited to 'Cython/Utils.py')
-rw-r--r--Cython/Utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Utils.py b/Cython/Utils.py
index 3d8ed8eec..dec584c35 100644
--- a/Cython/Utils.py
+++ b/Cython/Utils.py
@@ -374,7 +374,7 @@ def get_cython_cache_dir():
1. CYTHON_CACHE_DIR
2. (OS X): ~/Library/Caches/Cython
(posix not OS X): XDG_CACHE_HOME/cython if XDG_CACHE_HOME defined
- 3. ~/.cython/inline
+ 3. ~/.cython
"""
if 'CYTHON_CACHE_DIR' in os.environ:
@@ -392,4 +392,4 @@ def get_cython_cache_dir():
return os.path.join(parent, 'cython')
# last fallback: ~/.cython/inline
- return os.path.expanduser(os.path.join('~', '.cython', 'inline'))
+ return os.path.expanduser(os.path.join('~', '.cython'))