Re: New Python policy
Hi,
On Mon, 12 Jun 2006, Michal Čihař wrote:
> On Mon, 12 Jun 2006 02:29:51 -0500
> Joe Wreschnig <piman@sacredchao.net> wrote:
>
> > I have updated the Python policy document based on the discussions on
> > the list. An updated DebianDoc (and HTML and text files) can be found at
> > http://people.debian.org/~piman/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.
There will be example packages soon we hope.
In the mean time, I can tell you that you will have to Build-Depends on
"python (>= 2.3.5-6), python-all-dev" and that you should use `pyversions
-r debian/control` to find out the list of python versions that you must
use to build the package with, then your job in the rules file is to do
something like that:
for python in $(PYVERS); do \
$$python setup.py ...; \
done
Cheers,
--
Raphaël Hertzog
Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/
Reply to: