<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Arial">
<p>I have just put on pipy the first version of easy-deb: a tool to make source debs out of standard python modules.</p>
<p></p>
<p>I attach the same docs:</p>
<p></p>
<p>==========</p>
<p>=easy-deb=</p>
<p>==========</p>
<p></p>
<p>FEATURES</p>
<p>========</p>
<p></p>
<p>* Packages python modules</p>
<p> * from source distribution files</p>
<p> * from urls</p>
<p> * from PyPI records</p>
<p>* can package it self</p>
<p>* handles dependencies</p>
<p>* intstalls modules into eggs (from setuptools)</p>
<p>* can activate or deactivate an installed egg (add or remove from sys.path)</p>
<p>* handles a database of dependencies</p>
<p></p>
<p>=======================</p>
<p>=easy_deb instructions=</p>
<p>=======================</p>
<p></p>
<p>SYNOPSIS</p>
<p>========</p>
<p>easy-deb:</p>
<p>^^^^^^^^^^</p>
<p> Type </p>
<p> $ easy-deb -h </p>
<p> for usage and options synopsis:</p>
<p>usage: easy-deb [options] (pypi-modulename | archive-file-name| url)</p>
<p></p>
<p>options:</p>
<p> -h, --help show this help message and exit</p>
<p> -v VERSIONS, --python-versions=VERSIONS</p>
<p> Coma separated list of python versions to package for.</p>
<p> E.g.: -v 2.3,2.4</p>
<p> -d DEPS, --debian-deps=DEPS</p>
<p> Standard debian dependency string. %v is replaced with</p>
<p> python version</p>
<p> -b BDEPS, --debian-build-deps=BDEPS</p>
<p> Standard debian dependency string. %v is replaced with</p>
<p> python version</p>
<p> -f FIND_LINKS, --find-links=FIND_LINKS</p>
<p> Additionnal links to scan</p>
<p> -D DEST_DIR, --dest-dir=DEST_DIR</p>
<p> Distribution downloaded into file</p>
<p> -c, --common-dir Install to commond dir from where tree linking is done</p>
<p> -a, --arch-dep Build arch dep packages</p>
<p> -u, --update-database</p>
<p> Update the database of python modules options</p>
<p></p>
<p>update-pypi:</p>
<p>^^^^^^^^^^^^^</p>
<p> Type </p>
<p> $ update-pypi -h </p>
<p> for usage and options synopsis:</p>
<p>usage: update-pypi [options] (module-name | show | updatew)</p>
<p></p>
<p>options:</p>
<p> -h, --help show this help message and exit</p>
<p> -a, --add Add egg to sys.path</p>
<p> -r, --remove Add egg to sys.path</p>
<p></p>
<p></p>
<p></p>
<p>USAGE</p>
<p>=====</p>
<p>easy-deb: this tool will create a debian source package into a deb-pkg-<modulename> directory.</p>
<p>To compile the source package use the standard debian tools (debuild or "fakeroot debian/rules binary")</p>
<p></p>
<p>update-pypi: this script is used to enable and disable installed egg (you can enable/disable all eggs </p>
<p>ing the removing the All package). Enabled eggs are on sys.path, disabled eggs must be pkg_resource.require() before you can import from them.</p>
<p></p>
<p>EXAMPLE</p>
<p>=======</p>
<p>To install module "graph":</p>
<p></p>
<p>$ easy-deb -v2.4 graph -D /tmp/</p>
<p>$ cd /tmp/deb-pkg-graph0.4/graph-0.4</p>
<p>$ fakeroot debian/rules binary</p>
<p>$ sudo dpkg -i ../*.deb</p>
<p></p>
<p>$ update-pypi -a graph</p>
<p></p>
<p></p>
</body></html>