-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add Python3 shebang #182
base: master
Are you sure you want to change the base?
Add Python3 shebang #182
Conversation
My understanding was that |
Not sure if that's true for Linux. I just run it from source with my dirty hacks and system interpreter. |
Yes, that is correct. Hard coding the Python path is unnecessary and discouraged with modern setuptools entry points. @abitrolly If you want to run if from source, do If you want it to be self executing, please install it using pip or setuptools. |
It is not hardcoding, because it uses
What is the benefit of installing it if it works without installing? |
@jdufresne so can you provide a reference explaining why shebangs are discouraged? |
The shebang is added by setuptools, there is no need to hardcode it. Setuptools handles Python running from any environment, be it system, virtualenv, or an unusual custom installation. |
@jdufresne |
Correct. Please use the setuptools CLI entry point or |
@jdufresne why are you insist on installation? The package runs fine from sources, allows to easily modify it without setuptools, virtualenv and entrypoints. I understand that maybe you've had some traumatic experience without |
No description provided.