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

Shebang lines in scripts can fail #216

Open
isoboroff opened this issue Oct 1, 2020 · 1 comment
Open

Shebang lines in scripts can fail #216

isoboroff opened this issue Oct 1, 2020 · 1 comment

Comments

@isoboroff
Copy link

When you pip install dispy, it sets up the helper scripts (dispynode.py, etc) with shebangs pointing to the Python interpreter. If the pathname of the install contains a space, then the shebang can fail.

Usual Unix practice is to shebang to /usr/bin/env python3.8

pgiri added a commit that referenced this issue Oct 3, 2020
Instead of using 'env', set script path to python2 / python3.
Potential fix for issue #216.
@pgiri
Copy link
Owner

pgiri commented Oct 3, 2020

I hope commit above is how you suggest it be done. I looked for guidance on how to put the program path but haven't found (so far). I did couple of tests with different ways (e.g., /usr/bin/python, /usr/bin/python3 etc with different versions of Python) but I don't see pip changing the path appropriately. May be it requires additional steps in setup.py?

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

No branches or pull requests

2 participants