Distributing Programs Written in Python -


possible duplicate:
distributing python programs

i have several source codes gui programs made in python. i'd distribute them. however, i'd make easy possible end user program , running. common way's of going problem?

this in reference windows xp , on.

all noteworthy linux distributions , mac os come shipped version of python. windows don't have python installed default, must install seperately in order run python module. of course installed python version must same program (version 2 or 3).

the easiest way distribute program distribute source code (e.g. send module email or upload somewhere) in case, target pc must have python installed and meet dependencies. better solution (at least community) upload program package on pypi. more info procedure can found here.

in cases there reasons prevent using these options. example can't install python and/or dependencies (no root/admin account). if case, can bundle module(s) along else required run program (e.g python*.dll on windows). far know basic options kind of distribution following ones:

  1. py2exe
  2. py2app (only mac os)
  3. pyinstaller
  4. cx_freeze
  5. bbfreeze
  6. vendorid
  7. freeze
  8. nuitka --standalone
  9. cython --embed

a graphical interface of these tools (i think windows) gui2exe (except freeze).

another approach use portable python or in case of linux/bsd staticpython

note : not of aforementioned tools run on platforms or/and support python3. check documentation.

update

a rather intresting module esky, promises auto-update frozen apps. may find video-introduction here


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -