[med-svn] [Git][med-team/snakemake][master] Try to fix PATH
Andreas Tille
gitlab at salsa.debian.org
Mon Apr 30 22:09:15 BST 2018
Andreas Tille pushed to branch master at Debian Med / snakemake
Commits:
6906708e by Andreas Tille at 2018-04-30T23:09:02+02:00
Try to fix PATH
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ export PYBUILD_DESTDIR_python3=debian/snakemake
export PYBUILD_BEFORE_TEST_python3=chmod +x {dir}/bin/snakemake; cp -r {dir}/bin {dir}/tests {build_dir}
export PYBUILD_AFTER_TEST_python3=rm -fr {build_dir}/bin {build_dir}/tests
-export PATH:=$(CURDIR)/.pybuild/pythonX.Y_3.6/build/bin:$(PATH)
+export PATH:=$(shell pybuild --print build_dir --interpreter python3)/bin:$(PATH)
# Force the use of python3's sphinx-build.
export SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build
@@ -18,5 +18,6 @@ export SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build
override_dh_auto_build:
dh_auto_build
+ PATH=$(shell pybuild --print build_dir --interpreter python3)/bin:$(PATH) \
PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \
python3 setup.py build_sphinx
View it on GitLab: https://salsa.debian.org/med-team/snakemake/commit/6906708e0b1ea72d7044bc26618ebb0623611395
---
View it on GitLab: https://salsa.debian.org/med-team/snakemake/commit/6906708e0b1ea72d7044bc26618ebb0623611395
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/20180430/97e3f858/attachment.html>
More information about the debian-med-commit
mailing list