Hi Debian (2015.09.10_10:09:04_-0700) > * Build-depend on python-setuptools. Without this dependency, the scripts > are not installed. Not yet known, why. Closes: #795455.
Figured it out: pybuild clean removes setuptools.egg_info, which contains entry_points.txt. setuptools uses the entry_points to find which commands to run, and without it, it won't run "install_scripts". If python-setuptools is installed, entry_points.txt is available, in dist-packages, and it works. I think a cleaner (and less loopy) solution is: diff -Nru python-setuptools-18.2/debian/control python-setuptools-18.2/debian/control --- python-setuptools-18.2/debian/control 2015-09-10 09:40:07.000000000 -0700 +++ python-setuptools-18.2/debian/control 2015-08-03 05:23:42.000000000 -0700 @@ -4,7 +4,6 @@ Maintainer: Matthias Klose <d...@debian.org> Build-Depends: debhelper (>= 9), - python-setuptools, dh-python, pypy, python-all, diff -Nru python-setuptools-18.2/debian/rules python-setuptools-18.2/debian/rules --- python-setuptools-18.2/debian/rules 2015-08-03 05:23:42.000000000 -0700 +++ python-setuptools-18.2/debian/rules 2015-09-10 11:25:02.000000000 -0700 @@ -19,7 +19,12 @@ find debian/tmp -name requires.txt -delete override_dh_auto_clean: + # Keep entry_points, we need it to drive setup.py + mv setuptools.egg-info/entry_points.txt . dh_auto_clean + mkdir setuptools.egg-info + mv entry_points.txt setuptools.egg-info + rm -rf .eggs docs/build override_dh_install: SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272