JohnDMcMaster / usbrply

Replay USB messages from Wireshark (.cap) files
ISC License
306 stars 37 forks source link

Windows pip installation creates just a python file with no extension #49

Closed humdogm closed 3 years ago

humdogm commented 3 years ago

Other packages that I pip install on Windows such as pipdeptree, pyserial, and wheel create .exe files in my Scripts folder. The usbrply package only creates a python script which you have to run with python.exe anyways, which isn't very useful if users add their Scripts/ folder to their path.

Rather than building the file manually in setup.py, it would be better to use the entry_points argument in setup() with the 'console_scripts' entrypoint to register script interfaces to be built automatically.