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

more common executable name #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarDiehl
Copy link

"python" might point to python 2 or might not be available at all. https://askubuntu.com/questions/1296790

closes #2

"python" might point to python 2 or might not be available at all.
https://askubuntu.com/questions/1296790
@aradi
Copy link

aradi commented Dec 6, 2024

Just a short comment, also to #2 : The canonically "correct" way of doing this would be to make the project installable with Python and specify entry an point (a function name) for the driver script in pyproject.toml. Then Python create the wrapper script on its own and would take care about the right path (when installing the package).

As for python3: It will probably fail, if somebody uses the toolchain on Windows with Python provided by Conda, as there you still have to use python (for python3)...

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

Successfully merging this pull request may close these issues.

Question re: /usr/bin/env python
2 participants