Liubov Chuprikova pushed to branch master at Debian Med / qiime
Commits: 4f9b3de8 by Liubov Chuprikova at 2019-08-30T10:41:42Z Use setup.py develop to un-deploy the project - - - - - 2 changed files: - debian/changelog - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -10,6 +10,7 @@ qiime (2019.7.0-1) UNRELEASED; urgency=medium [ Liubov Chuprikova ] * New upstream version + * Use setup.py develop to un-deploy the project after testing -- Andreas Tille <[email protected]> Fri, 02 Aug 2019 23:15:44 +0200 ===================================== debian/rules ===================================== @@ -9,10 +9,12 @@ include /usr/share/dpkg/default.mk export DEB_BUILD_MAINT_OPTIONS=hardening=+all -# For testing, we need .egg-info so the entry points are available. +# For testing, we need to deploy the project in the build directory +# so that qiime2 plugins are loaded export PYBUILD_BEFORE_TEST=python{version} setup.py develop --install-dir {build_dir} -# Delete .egg-info and other files that were generated along with .egg-info -export PYBUILD_AFTER_TEST=rm -rf {build_dir}/qiime2.egg-* {build_dir}/site.py {build_dir}/easy-install.pth +# Un-deploy the project and delete site.py script +export PYBUILD_AFTER_TEST=rm -v {build_dir}/site.py; \ + python{version} setup.py develop --uninstall --install-dir {build_dir} %: dh $@ --with python3 --buildsystem=pybuild View it on GitLab: https://salsa.debian.org/med-team/qiime/commit/4f9b3de84080cc611c770381553602273e6b9eb3 -- View it on GitLab: https://salsa.debian.org/med-team/qiime/commit/4f9b3de84080cc611c770381553602273e6b9eb3 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
