cloudify-cosmo / wagon

Creates Wheel based archives to allow portable offline installation of Python packages and their dependencies
Apache License 2.0
108 stars 14 forks source link

41 properly format pip install path on Windows based platforms #42

Closed nirfuchs closed 8 years ago

nirfuchs commented 8 years ago

it appears that on Windows based platforms the default pip install path(for Python < 2.7.9) is C:\Python27\Scripts however wagon assumed it is located along-side python inside os.path.dirname(sys.executable) which is C:\Python27 and therefore failed to work on Windows based platforms.

this patch resolves that issue.