summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Holth <dholth@fastmail.fm>2012-10-17 22:33:19 -0400
committerDaniel Holth <dholth@fastmail.fm>2012-10-17 22:33:19 -0400
commit1fbbdf3ea93cc11e3d514e4ce86bca5a90c43a02 (patch)
treed588ba38893f2605aa57a295f84872a9d565f224
parent387d76b8d7be0546b76e6aae43c634d9b4373f62 (diff)
downloadwheel-1fbbdf3ea93cc11e3d514e4ce86bca5a90c43a02.tar.gz
add dist name to header path
-rw-r--r--wheel/paths.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/wheel/paths.py b/wheel/paths.py
index 1ae7efa..3444989 100644
--- a/wheel/paths.py
+++ b/wheel/paths.py
@@ -24,12 +24,13 @@ def get_install_paths(name):
for key in install.SCHEME_KEYS:
paths[key] = getattr(i, 'install_'+key)
- # pip uses this path as an alternative to the system's (read-only)
+ # pip uses a similar path as an alternative to the system's (read-only)
# include directory:
if hasattr(sys, 'real_prefix'): # virtualenv
paths['headers'] = os.path.join(sys.prefix,
'include',
'site',
- 'python' + sys.version[:3])
+ 'python' + sys.version[:3],
+ name)
return paths