dh_python doesn't work for Python 2.6

Bug #525115 reported by J. D. Bartlett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packaging
New
Undecided
Unassigned

Bug Description

When running the command pythonpackage trosnoth, I get the following results as part of the output.

dh_python -V 2.6 -p python2.6-trosnoth
dh_python: This program is deprecated, you should use dh_pysupport or dh_pycentral instead.
dh_python: Unknown python version 2.6
make: *** [real-packages] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1334:
dpkg-buildpackage -rfakeroot -D -us -uc -i(?:^|/)\.#|~$|\.py[co]$ -b failed
error: command 'debuild' failed with exit status 29
Traceback (most recent call last):
  File "/usr/local/bin/pythonpackage", line 6, in <module>
    core.main()
  File "/usr/local/lib/python2.6/dist-packages/packaging/core.py", line 164, in main
    run_setup_py(package, tempdir, 'bdist_deb')
  File "/usr/local/lib/python2.6/dist-packages/packaging/core.py", line 110, in run_setup_py
    raise RuntimeError, "Error running setup.py %s" % directive
RuntimeError: Error running setup.py bdist_deb

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.