Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pywbem 0.10.0 wheel archive has incorrect path in hashbang of scripts #754

Closed
andy-maier opened this issue Sep 2, 2017 · 3 comments
Closed

Comments

@andy-maier
Copy link
Contributor

This issue resulted from investigating issue #733.

The hashbang line of our three scripts in the wheel archive of pywbem 0.10.0 is:

#!/home/maiera/virtualenvs/test_test4/bin/python

This line is not adjusted in the installed version of the scripts (probably because its path is absolute), and therefore the scripts cannot be invoked.

For the other versions (0.9.x), and for current development builds of 0.11.0, the following hashbang line is in the wheel archives:

#!python

That hashbang line is adjusted in the installed version of the scripts, to the absolute path of the python that was found in the environment, so this works fine.

We need to fix the incorrect hashbang lines that somehow made it into the 0.10.0 wheel archive.

@andy-maier
Copy link
Contributor Author

A means to no longer get into this is probably to make sure that the build tree is erased before publishing.
This would be the fix for this one.

@andy-maier
Copy link
Contributor Author

The fix for this issue needs to be rolled back into 0.10.1, in order to fix #755.

@andy-maier
Copy link
Contributor Author

PR #763 fixes this issue for pywbem 0.11.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant