[Andrii Senkovych, 2013-11-06] > pybuild --verbose --test-pytest --test-args="-v" --before-test "cp -R > {dir}/tests {build_dir}" > > This command works for py2.7 (obviously) but in order for this to work > for 3.x I have to run 2to3 against test suite itself. How can I do > that? > > Also how can I specify --before-test arguments for dh_auto_test?
you can use ";" to separate commands and you can combine it with {version.major}, but I agree that export PYBUILD_BEFORE_TEST=cp -R {dir}/tests {build_dir}; ["{version.major}" = 2 ] || 2to3 ... is something that looks ugly. -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131106131119.gr20...@sts0.p1otr.com