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.