[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pybuild: where to put --test-pytest?



Hello,

I'm working on a package that uses pytest. Conventiently, pybuild seems
to have a --test-pytest option -- but I'm completely at a loss where to
put it.

Currently my rules file looks like this:

,----
| #!/usr/bin/make -f
| # -*- makefile -*-
| 
| #export DH_VERBOSE=1
| export PYBUILD_NAME=dugong
| 
| %:
| 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
| 
| override_dh_auto_build:
| 	dh_auto_build
| 	python3 setup.py build_sphinx
| 
| override_dh_auto_clean:
| 	dh_auto_clean
| 	rm -rf doc/html doc/doctrees
`----

Where can I sneak in the --test-pytest option?


Thanks,
-Nikolaus

-- 
Encrypted emails preferred.
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

             »Time flies like an arrow, fruit flies like a Banana.«


Reply to: