diff options
author | Steven Winfield <steven.winfield@cantabcapital.com> | 2013-01-15 14:07:37 +0000 |
---|---|---|
committer | Steven Winfield <steven.winfield@cantabcapital.com> | 2013-01-15 14:07:37 +0000 |
commit | 16bb65dc7f913e8fe162ddd1d27778e5d1f3274a (patch) | |
tree | 39c0205bdaabae7f80e8cb151cfb38de78652956 | |
parent | bfd7a79bbeb99e001c30220ed1203b301f42e899 (diff) | |
download | cython-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.py | 2 |
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 |