summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Winfield <steven.winfield@cantabcapital.com>2013-01-15 14:07:37 +0000
committerSteven Winfield <steven.winfield@cantabcapital.com>2013-01-15 14:07:37 +0000
commit16bb65dc7f913e8fe162ddd1d27778e5d1f3274a (patch)
tree39c0205bdaabae7f80e8cb151cfb38de78652956
parentbfd7a79bbeb99e001c30220ed1203b301f42e899 (diff)
downloadcython-16bb65dc7f913e8fe162ddd1d27778e5d1f3274a.tar.gz
Use OS-dependent directory separator - a / on windows is interpreted by LINK as a command line switch
--HG-- extra : transplant_source : %A8%F23%AF%26%BC%82y1%86S%1Ac%D3%40%089o%DCQ
-rw-r--r--pyximport/pyximport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyximport/pyximport.py b/pyximport/pyximport.py
index 7685fd12c..9a991b6f2 100644
--- a/pyximport/pyximport.py
+++ b/pyximport/pyximport.py
@@ -497,7 +497,7 @@ def install(pyximport=True, pyimport=False, build_dir=None, build_in_temp=True,
runtime for .py files and Py2 for .pyx files.
"""
if not build_dir:
- build_dir = os.path.expanduser('~/.pyxbld')
+ build_dir = os.path.join(os.path.expanduser('~'), '.pyxbld')
global pyxargs
pyxargs = PyxArgs() #$pycheck_no