Re: New Python policy
> How about adding example for building compiled extensions? Otherwise
> there will be used many ways to produce binaries for all supported
> python versions.
- Packaging examples
- CDBS (not yet available)
- python-central (http://python-modules.alioth.debian.org/python-central_howto.txt)
- python-support (http://wiki.debian.org/DebianPythonFAQ)
If a package has just extensions, then you don't need python-support
or python-central at all. Just put all extensions for each supported
python version into the same python-foo package. We do not
explicitely disallow having copies of the same .py files in
/usr/lib/pythonX.Y, so that can be done as well (example is
python-newt which comes with one extension and one module).
Extensions and modules in packages (the python sense, a directory with
an __init__.py) must end up in the same directory.
Matthias
Reply to: