eliben / pyelftools

Parsing ELF and DWARF in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Suggestions] Make readelf.py a "console_script" rather than a "script" in setup.cfg

tlansec opened this issue · comments

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 the scripts=[] keyword rather than `console_scripts.