[Twisted-Python] official packaging
![](https://secure.gravatar.com/avatar/a317a8f80c2fc9e5df8470c599e89e2c.jpg?s=120&d=mm&r=g)
Hi all, I recently came across this issue [1], and Glyph commented about official packaging. We're using Ubuntu Hardy and created packages for Twisted 8.2.0, as Ubuntu LTS is our platform of choice. Those packages were accepted by their official maintainer (Matthias Klose, doko@debian.org) and uploaded to Ubuntu Jaunty and Debian unstable. Sadly, the official packages now use python-central (>=0.6.11), which isn't available in Hardy, so we'll have to stick to the packages in our PPA [2] In any case, we'll update them when Twisted 9.0 is released, but I think it would be better to upload them to a PPA repository officially approved by the Twisted team. Anyway, it would be great to have recent packages of Twisted for distributions that offer some kind of long term support contracts (Ubuntu, RHEL, etc.), but that tend to get a bit outdated. Cheers. 1 - http://twistedmatrix.com/trac/ticket/3102 2 - https://launchpad.net/~fluidinfo/+archive/ppa
![](https://secure.gravatar.com/avatar/5e1e94d5ae9adfcd82e881e08108446d.jpg?s=120&d=mm&r=g)
Esteve Fernandez <esteve@sindominio.net> wrote:
Anyway, it would be great to have recent packages of Twisted for distributions that offer some kind of long term support contracts (Ubuntu, RHEL, etc.), but that tend to get a bit outdated.
It's worth mentioning that someone has recently stepped up to fix ticket 1696 after I'd ignored it for Far Too Long, and very soon it should be possible to build Twisted RPMs for RHEL just by running "./setup.py bdist_rpm" in a fresh checkout. For Debian-based distros, I hear there's a tool called "debhelper" that apparently has some useful tricks for making .deb packages from a distutils setup.py; I'm not sure how it interacts with or without python-central, and I don't know how well it would deal with Twisted's rather... customised setup.py.
![](https://secure.gravatar.com/avatar/52cff2b66b9e291797f15f0c1b3491b8.jpg?s=120&d=mm&r=g)
On 2009.04.02 14:21:14 +1100, Tim Allen wrote:
Esteve Fernandez <esteve@sindominio.net> wrote:
Anyway, it would be great to have recent packages of Twisted for distributions that offer some kind of long term support contracts (Ubuntu, RHEL, etc.), but that tend to get a bit outdated.
It's worth mentioning that someone has recently stepped up to fix ticket 1696 after I'd ignored it for Far Too Long, and very soon it should be possible to build Twisted RPMs for RHEL just by running "./setup.py bdist_rpm" in a fresh checkout.
Thanks Tim. I make RHEL5 rpms for Twisted at work, using "setup.py bdist_rpm" rather than a manually generated spec file. I thought we were just about the only ones who cared about this, so I've never really tried to push the (small) changes upstream. But when your changes land I'll test that they work for us too. An issue with pushing this kind of change to RPM-based distros is that writing .spec files by hand and maintaining them is their core competency, so they mostly think using setup.py bdist_rpm to autogenerate them is weird and unnecessary and wrong. -- David Ripton dripton@ripton.net
participants (3)
-
David Ripton
-
Esteve Fernandez
-
Tim Allen