[Python-modules-team] python2.5 specific file

Luciano Bello luciano at debian.org
Sat May 3 02:38:35 UTC 2008


hi list,
	I'm packaging python-buzhug[1]. One of the .py (conversion_float.py) files 
has only sense in python2.5. In the ~/debian/rules install I made:
        for python in $(PYVERS); do \
           $$python setup.py install --root=debian/python-buzhug; \
           if test "python2.5" != $$python ; then \
                rm 
debian/python-buzhug/usr/lib/$$python/site-packages/buzhug/conversion_float.py ;
\
           fi; \
        done
But the built package only works in python 2.5.

How can I manage this?

[1] http://svn.debian.org/wsvn/python-modules/packages/python-buzhug/



More information about the Python-modules-team mailing list