File: rules

package info (click to toggle)
python-oauthlib 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 976 kB
  • ctags: 1,136
  • sloc: python: 7,684; makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYBUILD_NAME=oauthlib

export PYTHONWARNINGS=d

%:
	dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="cd {build_dir}; {interpreter} -m nose {dir}/tests" dh_auto_test