File: Makefile

package info (click to toggle)
social-auth-app-django 3.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 304 kB
  • sloc: python: 1,482; makefile: 26
file content (25 lines) | stat: -rw-r--r-- 735 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
build:
	@ python setup.py sdist
	@ python setup.py bdist_wheel --python-tag py2
	@ BUILD_VERSION=3 python setup.py bdist_wheel --python-tag py3

publish:
	@ python setup.py sdist upload
	@ python setup.py bdist_wheel --python-tag py2 upload
	@ BUILD_VERSION=3 python setup.py bdist_wheel --python-tag py3 upload

clean:
	@ find . -name '*.py[co]' -delete
	@ find . -name '__pycache__' -delete
	@ rm -rf *.egg-info dist build

docker-tox-build:
	@ docker inspect omab/psa-social-app-django >/dev/null 2>&1 || ( \
		docker build -t omab/psa-social-app-django . \
	)

docker-tox: docker-tox-build
	@ docker run -it --rm \
		     --name psa-social-app-django-test \
		     -v "`pwd`:/code" \
		     -w /code omab/psa-social-app-django tox