On 30.04.2014 22:56, Alex Mestiashvili wrote:
Greetings everybody,
git-buildpackage --git-pbuilder --git-arch=amd64
dh clean --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
pybuild --clean -i python{version} -p 2.7 --dir .
I: pybuild base:170: python2.7 setup.py clean
running clean
removing
'/home/toor/debian-med/python-multipletau/.pybuild/pythonX.Y_2.7/build'
(and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
pybuild --clean -i python{version} -p "3.3 3.4" --dir .
I: pybuild base:170: python3.3 setup.py clean
Traceback (most recent call last):
File "setup.py", line 4, in <module>
from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
E: pybuild pybuild:256: clean: plugin distutils failed with: exit
code=1: python3.3 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 3.3 3.4 --dir .
returned exit code 13
make: *** [clean] Error 13...
git-buildpackage runs the clean target before exporting the dsc so you
need the build dependencies installed on the host for pybuild.
you can disable that with --git-cleaner=true