tusharsadhwani / packaged

The easiest way to ship python applications.
https://packaged.live
GNU General Public License v2.0
193 stars 8 forks source link

Support console scripts #6

Closed tusharsadhwani closed 6 months ago

tusharsadhwani commented 6 months ago

Currently a command like:

packaged ./zxpy.bin 'pip install .' 'zxpy' ./code/zxpy

Won't work, because zxpy is a console script created by the interpreter and it points to an absolute path to the interpreter which gives:

$ ./zxpy.bin
./_packaged_startup.sh: .packaged_python/python/bin/zxpy: /Users/tusharsadhwani/code/zxpy/.packaged_python/python/bin/python3.12: bad interpreter: No such file or directory