Paul Boddie <[EMAIL PROTECTED]> wrote: > On 14 Jan, 08:47, "A.T.Hofkamp" <[EMAIL PROTECTED]> wrote: > > > > Rather than re-inventing the wheel, please have a look at distutils: > > http://docs.python.org/lib/module-distutils.html > > > > It does most if not all of the things you want to do. > > If you want something more advanced, read about eggs. > > Although distutils does some of the work needed by the inquirer, it > falls far short of what is needed to make a Debian package - that's > why you have the "new" Debian Python policy and why the authors > specifically refer to both distutils and setuptools in that document.
It would be nice to have an equivalent to dh-make-perl which takes a CPAN module and makes a .deb directly. http://packages.debian.org/stable/devel/dh-make-perl What I usually do is python setup.py bdist_rpm Then use alien to convert the resulting .rpm into a .deb I don't think these create particularly policy compliant .debs but they are good enough for local usage. > Meanwhile, even stdeb [1] doesn't appear to completely automate the > production of Debian packages using distutils. Looks interesting though! > [1] http://stdeb.python-hosting.com/ -- Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick -- http://mail.python.org/mailman/listinfo/python-list