* Thomas Kluyver <tak...@gmail.com>, 2012-11-14, 11:44:
While working on the python3-sympy package, I've seen that if Python 2
is installed, various dh_* commands, like dh_auto_clean, will
automatically try to run setup.py in Python 2. In this case, setup.py
checks the Python version and fails. This isn't a problem when building
in a clean environment like a buildd, but it's annoying when trying to
build the package locally.
s/annoying .*/still an RC bug/.
I could specify the relevant override_dh_* targets in debian/rules, but
I mostly want to let the default things run, just not with Python 2. Is
there a good way to specify this in the packaging?
dh_auto_* support Python 2.X only.
You can probably fool it into using Python 3 with DEBPYTHON_SUPPORTED
environment variable, but this is not a "good" way. If you try this,
it'll blow up into your face sooner or later.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121114131400.ga9...@jwilk.net