From dec10f0b3ebc4622ada21c55f21c2df16265b022 Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Fri, 31 Jan 2020 14:11:11 +0100 Subject: [PATCH] Removal of python2 for debian packaging --- package/debian11/rules | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/debian11/rules b/package/debian11/rules index ae34f3c41..f14d36813 100755 --- a/package/debian11/rules +++ b/package/debian11/rules @@ -3,7 +3,7 @@ export PYBUILD_NAME=pyfai %: - dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_clean: dh_clean @@ -13,17 +13,15 @@ override_dh_clean: override_dh_auto_build: dh_auto_build - python setup.py build build_man build_doc + python3 setup.py build build_man build_doc # PYBUILD_SYSTEM=custom \ # PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} http_proxy='localhost' sphinx-build -N -bhtml doc/source build/html" dh_auto_build override_dh_install: - dh_numpy dh_numpy3 # move the scripts to right package dh_install -p pyfai debian/python3-pyfai/usr/bin usr/ - #python3 setup.py install_scripts -d debian/pyfai/usr/bin # remove all scripts installed by pybuild rm -rf debian/python-pyfai/usr/bin rm -rf debian/python3-pyfai/usr/bin