File: rules

package info (click to toggle)
python-cookies 2.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 340 kB
  • sloc: python: 2,420; makefile: 8
file content (17 lines) | stat: -rwxr-xr-x 414 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=cookies
export PYBUILD_TEST_PYTEST=1

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

override_dh_auto_clean:
	rm -rf cookies.egg-info __pycache__ .cache
	dh_auto_clean

# https://gitlab.com/sashahart/cookies/issues/2
#override_dh_auto_build:
#	dh_auto_build
#	PYTHONPATH=. http_proxy='http://127.0.0.1:9/' sphinx-build -N -bhtml doc debian/html