Making a .deb for a python program in a bzr repository
Martin Pool
mbp at sourcefrog.net
Mon Mar 2 02:23:21 GMT 2009
2009/2/28 Lionel Dricot <zeploum at gmail.com>:
> Hello,
>
> I've a python program who consists of several modules but without any
> setup.py. The whole application is hosted and developed with bzr on
> launchpad.
> ( https://edge.launchpad.net/gtg )
>
> I now want to make it available on a PPA.
>
> I've never done a .deb package before and after reading howtos, it appears
> that there are a lot of different ways of doing things and they are all very
> complicated at first glance.
>
> I know that stuff like bzr builddeb and PPA scripts exist but I've no idea
> how I can use them but as I'm using bzr/python/launchpad, I want to choose
> the easiest and most integrated way of doing this work to avoid as much as
> possible repetitive actions each time I want to make a new release.
>
> So, what are your advices, your links, your personnal tricks ?
So, I agree it's pretty complex to start from scratch, and even things
like bzr builddeb and autoppa tend to rely on you already having this
packaged. A lot of the complexity is because of infrastructure
inherited from Debian, which is dealing with many different programs,
with different approaches tried by different people over many years.
Probably the best advice is to read
https://wiki.ubuntu.com/PackagingGuide/Python and then ask in
#ubuntu-motu or #bzr, or here with more specific questions.
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list