File: rules

package info (click to toggle)
python-whitenoise 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 300 kB
  • sloc: python: 1,165; makefile: 134
file content (15 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=whitenoise
export LC_ALL = C.UTF-8

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

override_dh_installchangelogs:
	dh_installchangelogs -p python-whitenoise   docs/changelog.rst
	dh_installchangelogs -p python3-whitenoise  docs/changelog.rst

override_dh_auto_test:
	DJANGO_SETTINGS_MODULE=tests.django_settings python -m unittest discover
	DJANGO_SETTINGS_MODULE=tests.django_settings python3 -m unittest discover