[med-svn] [Git][med-team/q2-demux][master] Generate .egg-info before testing

Liubov Chuprikova gitlab at salsa.debian.org
Fri Jun 7 18:06:47 BST 2019



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


Commits:
b38d679b by Liubov Chuprikova at 2019-06-07T17:06:26Z
Generate .egg-info before testing

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -17,6 +17,13 @@ export LC_ALL=C.UTF-8
 # for hardening you might like to uncomment this:
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# For testing, we need .egg-info so the entry points are available.
+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-demux.egg-* {build_dir}/site.py \
+	{build_dir}/.coverage* {build_dir}/easy-install.pth
+
+
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 



View it on GitLab: https://salsa.debian.org/med-team/q2-demux/commit/b38d679b62297edf3fe7589b2c8a7996b7284c15

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-demux/commit/b38d679b62297edf3fe7589b2c8a7996b7284c15
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/20190607/d0116cea/attachment.html>


More information about the debian-med-commit mailing list