[Python-Dev] OT: Debian and Python

Neil Schemenauer nas@arctrix.com
Wed, 13 Dec 2000 09:43:06 -0800


On Thu, Dec 14, 2000 at 01:05:34AM +0100, Thomas Wouters wrote:
> Note to the debian-pythoneers: woody still carries Python 1.5.2, not 2.0.
> Someone created a separate set of 2.0-packages, but they didn't include
> readline and gdbm support because of the licencing issues. (Posted on c.l.py
> sometime this week.)

I've had Python packages for Debian stable for a while.  I guess
I should have posted a link:

    http://arctrix.com/nas/python/debian/

Most useful modules are enabled.

> I'm *almost* tempted enough to learn enough about
> dpkg/.deb files to build my own licence-be-damned set

Its quite easy.  Debian source packages are basicly a diff.
Applying the diff will create a "debian" directory and in that
directory will be a makefile called "rules".  Use the target
"binary" to create new binary packages.  Good things to know are
that you must be in the source directory when you run the
makefile (ie. ./debian/rules binary).  You should be running a
shell under fakeroot to get the install permissions right
(running "fakeroot" will do).  You need to have the Debian
developer tools installed.  There is a list somewhere on
debian.org.  "apt-get source <packagename>" will get, extract and
patch a package ready for tweaking and building (handy for
getting stuff from unstable to run on stable).  

This is too off topic for python-dev.  If anyone needs more info
they can email me directly.

  Neil