Hi,
what would be the best way to distribute a Python executable that requires packages from pip? I'm playing around with requirements.txt and then call pip install -r on it. However this requires a batch/shell script to be run first.
I wonder if this is the way to do it.
Thanks!
Best way to distribute Python program?
Re: Best way to distribute Python program?
Which program did you use to create the executable? I know that PyInstaller scans for dependencies and packs them as well.
Re: Best way to distribute Python program?
Ayuto wrote:Which program did you use to create the executable? I know that PyInstaller scans for dependencies and packs them as well.
Haven't used anything yet :D
Thanks, I'll look into it, sounds good.
Re: Best way to distribute Python program?
Late reply, but I highly recommend using pynsist package. It puts your application in a Nullsoft Installer. It's much better than packing everything in a single .exe. Your application will install like any other program, it will be accessible in Windows Control Panel etc.
Also supports neat stuff like automatically downloading proper Python interpreter and corresponding versions of the libs from PyPi.
Also supports neat stuff like automatically downloading proper Python interpreter and corresponding versions of the libs from PyPi.
/id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam
Hail, Companion. [...] Hands to yourself, sneak thief.
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam
Hail, Companion. [...] Hands to yourself, sneak thief.
Re: Best way to distribute Python program?
iPlayer wrote:Late reply, but I highly recommend using pynsist package. It puts your application in a Nullsoft Installer. It's much better than packing everything in a single .exe. Your application will install like any other program, it will be accessible in Windows Control Panel etc.
Also supports neat stuff like automatically downloading proper Python interpreter and corresponding versions of the libs from PyPi.
Amazing! Thank you!
BTW: Late reply lol
Who is online
Users browsing this forum: No registered users and 33 guests