diff options
author | David Cournapeau <cournape@gmail.com> | 2009-12-12 11:06:54 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-12-12 11:06:54 +0000 |
commit | 8bde1a547157653ea83889fbcd3c481c02b6491e (patch) | |
tree | 6605630bd9e2cbadd6f90920229bbb481988c136 /numpy | |
parent | bb0795556ccb9ff42b424297da9a0462b10d0d7d (diff) | |
download | numpy-8bde1a547157653ea83889fbcd3c481c02b6491e.tar.gz |
BUG: fix escaping of pkgdir on windows.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/distutils/npy_pkg_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/npy_pkg_config.py b/numpy/distutils/npy_pkg_config.py index 70eac884d..89c20c64b 100644 --- a/numpy/distutils/npy_pkg_config.py +++ b/numpy/distutils/npy_pkg_config.py @@ -329,7 +329,7 @@ def _read_config_imp(filenames, dirs=None): (pkgname, meta["name"])) mod = sys.modules[pkgname] - vars["pkgdir"] = os.path.dirname(mod.__file__) + vars["pkgdir"] = _escape_backslash(os.path.dirname(mod.__file__)) return LibraryInfo(name=meta["name"], description=meta["description"], version=meta["version"], sections=sections, vars=VariableSet(vars)) |