Commit 6906708e authored by Andreas Tille's avatar Andreas Tille
Browse files

Try to fix PATH

parent 8cf23980
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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