electrolama / llama-bsl

Python cross-platform script to upload firmware via the serial boot loader onto the CC13xx, CC2538 and CC26xx SoC.
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Packaging: Figure out how to make PyPi installs on Windows work #1

Closed omerk closed 1 year ago

omerk commented 3 years ago

pip install llama-bsl on Windows works, but issuing "llama-bsl" on the command line doesn't run the script.

omerk commented 3 years ago

Relevant: https://docs.python.org/3/using/windows.html#python-launcher-for-windows (thanks @mattvenn!)

As far as I can tell, adding the ".py" extension back on the script and relying on the py launcher seems to work?

image

More testing needed

omerk commented 1 year ago

This is now fixed with the addition of console_scripts in setup.py