Talk:Py2deb: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
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...
 
imported>sixwheeledbeast
m Protected "Talk:Py2deb": Excessive vandalism ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
run  
run  
  python setup.py bdist_dumb
  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:
this creates a <package name>-<version>-linux-armv6l.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
  cd ..; mkdir src; cd src; tar xzvf ../<package name>/dist/<package name>-<version>-linux-armv6l.tar.gz
create build_myapp.py script like described here.
and continue with build_myapp.py script like described here.

Latest revision as of 23:45, 24 March 2018

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 <package name>-<version>-linux-armv6l.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>-<version>-linux-armv6l.tar.gz

and continue with build_myapp.py script like described here.