forked from python-social-auth/social-app-django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (21 loc) · 735 Bytes
/
Makefile
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