[pkg-fso-maint] state of fso packaging?

Sebastian Reichel elektranox at gmail.com
Sat Apr 18 10:05:05 UTC 2009


On Sat, Apr 18, 2009 at 10:05:42AM +0400, Nikita V. Youshchenko wrote:
> > "arne anka" <openmoko at ginguppin.de> writes:
> > > out of curiosity: how does one build a deb from a vcs snapshot for
> > > private use?
> > > my idea would be dh_make, but is that appropriate for python code?
> >
> > I'm sure you can use dh_make to create a template and then modify
> > debian/rules to call "python setup.py install", right?
> 
> I think it would be easier to start with debian/ from some package that 
> already uses setup.py

hi,

you could try cdbs for packaging, which has a rule for python
packaging ;) A minimal debian/rules for setup.py using cdbs
would look like this:

-------------------------------------------------------
#!/usr/bin/make -f
# -*- makefile -*-

DEB_PYTHON_SYSTEM = pysupport

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
-------------------------------------------------------

this will do all the setup.py stuff for you and actually will
be enough, if you don't need any additional parameters.

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090418/f08eb7d2/attachment.pgp>


More information about the pkg-fso-maint mailing list