-
Notifications
You must be signed in to change notification settings - Fork 512
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
[Suggestions] Make readelf.py a "console_script" rather than a "script" in setup.cfg #471
Comments
The documentation of
Is this really related to what you ask? Unfortunately I don't even have a way to test on Windows these days, so I'll need someone with Windows expertise to help figure this out. |
I sort of see a use case for readelf.py under Windows. GNU That said, it's unfair to say that readelf.py is not available. You have to provide a full path on the command line, that's all:
That's assuming per user setup in the default Python; your path may vary. |
Regarding some of the points above:
If you read further on in the same section you've already structured
I know you can call it, in the same way I could alias it etc, what i'm proposing is purely for convenience on first installation. |
OBTW, I've just checked, readelf.py is somehow in PATH on my Windows machine. Merely typing Maybe that's because |
https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html#the-scripts-keyword-argument
At present (unless I'm doing something wrong) when pyelftools is installed in a Windows environment the
readelf.py
script does not become available on the command line.This is because
setup.cfg
currently uses thescripts=[]
keyword rather than `console_scripts.The text was updated successfully, but these errors were encountered: