Re: pybuild: how to get the build directory name

2018-03-21 Thread Ole Streicher
Dear Piotr, Piotr Ożarowski writes: > or even better (without using pybuild's internal paths): > > override_dh_auto_test: > dh_auto_test -- --system=custom --test-args '{interpreter} > {dir}/debian/tests/pyraf-test.py' That is optimal for me. Thank you very much for the hint! Best rega

Re: pybuild: how to get the build directory name

2018-03-20 Thread Piotr Ożarowski
[Ole Streicher, 2018-03-20] > test-python%: > HOME=/tmp/ PYTHONPATH=$(CURDIR)/.pybuild/pythonX.Y_$*/build python$* > debian/tests/pyraf-test.py > > override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) > > This however does not work anymore, since the subdir under .p