File: rules

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

# testsuite wants non-ASCII with python3
export LC_ALL=C.UTF-8
export PYBUILD_NAME=flask-migrate

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

override_dh_auto_configure:
	dh_auto_configure
	chmod a-x flask_migrate/templates/flask/README
	chmod a-x flask_migrate/templates/flask/env.py
	chmod a-x flask_migrate/templates/flask/script.py.mako
	chmod a-x flask_migrate/templates/flask-multidb/README
	chmod a-x flask_migrate/templates/flask-multidb/script.py.mako
	chmod a-x flask_migrate/templates/flask-multidb/env.py