Talk:Py2deb

From Maemo Wiki
Revision as of 00:46, 16 March 2009 by 91.64.179.0 (talk) (New page: usually python libraries are distributed with setuptools. If there is a setup.py in the folder, chances are, the following procedure works for creating package with py2deb: run python s...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

usually python libraries are distributed with setuptools. If there is a setup.py in the folder, chances are, the following procedure works for creating package with py2deb: run

python setup.py bdist_dumb

this creates a tar.gz in dist/ with the tree of to be installed files (e.g. /usr/lib/python2.5/site-packages/<package name>/...). extract with:

cd ..; mkdir src; cd src; tar xzvf ../<package name>/dist/<package name>.tar.gz

create build_myapp.py script like described here.