[med-svn] [Git][med-team/q2-cutadapt][master] Use setup.py develop to un-deploy the project after testing

Liubov Chuprikova gitlab at salsa.debian.org
Thu Sep 5 20:40:36 BST 2019



Liubov Chuprikova pushed to branch master at Debian Med / q2-cutadapt


Commits:
91e52ab8 by Liubov Chuprikova at 2019-09-05T19:40:15Z
Use setup.py develop to un-deploy the project after testing

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -3,11 +3,12 @@
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 
-# 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_BEFORE_INSTALL=rm -rvf {build_dir}/q2-cutadapt.egg-* {build_dir}/site.py \
-	{build_dir}/.coverage* {build_dir}/easy-install.pth
+# Un-deploy the project
+export PYBUILD_AFTER_TEST=rm -v {build_dir}/site.py {build_dir}/.coverage*; \
+	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/q2-cutadapt/commit/91e52ab8cf39e375a11c0ed10e5e04acc9d321e0

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-cutadapt/commit/91e52ab8cf39e375a11c0ed10e5e04acc9d321e0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190905/93386ae0/attachment.html>


More information about the debian-med-commit mailing list