File: rules

package info (click to toggle)
setuptools-scm 1.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 236 kB
  • ctags: 134
  • sloc: python: 896; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 422 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

#export DH_VERBOSE=1
export PYBUILD_NAME=setuptools-scm
# the test_regressions.py test assumes the package is installed
export PYBUILD_TEST_ARGS={interpreter} -m pytest -k "not regressions"

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

override_dh_auto_test:
	python setup.py egg_info
	PYBUILD_SYSTEM=custom dh_auto_test

override_dh_auto_install:
	python setup.py egg_info
	dh_auto_install