Skip to content

Commit

Permalink
BUG: fix escaping of pkgdir on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Dec 12, 2009
1 parent bb07955 commit 8bde1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/distutils/npy_pkg_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def _read_config(f):
(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))
Expand Down

0 comments on commit 8bde1a5

Please sign in to comment.