Best way to distribute Python program?

General discussion for off-topic subjects.
User avatar
BackRaw
Senior Member
Posts: 413
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany

Best way to distribute Python program?

Postby BackRaw » Tue Dec 06, 2016 5:27 pm

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!
User avatar
Ayuto
Project Leader
Posts: 1541
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Best way to distribute Python program?

Postby Ayuto » Tue Dec 06, 2016 6:14 pm

Which program did you use to create the executable? I know that PyInstaller scans for dependencies and packs them as well.
User avatar
BackRaw
Senior Member
Posts: 413
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany

Re: Best way to distribute Python program?

Postby BackRaw » Tue Dec 06, 2016 8:20 pm

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.

Return to “Whatever”

Who is online

Users browsing this forum: No registered users and 1 guest