-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
49 lines (33 loc) · 946 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.PHONY: docs test clean isort
# port install py-certifi
testenv: bin/py.test
test: bin/py.test
bin/pip install -e .
bin/py.test
bin/python bin/pip:
virtualenv .
bin/py.test: bin/python requirements.txt
bin/pip install -Ur requirements.txt
touch $@
bin/sphinx-build: bin/pip
bin/pip install sphinx
docs: bin/sphinx-build
SPHINXBUILD=../bin/sphinx-build $(MAKE) -C docs html
# See setup.cfg for configuration.
isort:
find pytest_django tests -name '*.py' -exec isort {} +
clean:
rm -rf include/ lib/ man/ pytest_doc.egg-info/ build/
install:
rm -rf build
python setup.py build install
pypitest-upload:
/usr/bin/python setup.py sdist upload -r pypitest
pypitest-register:
/usr/bin/python setup.py register -r pypitest
pypi-upload:
/usr/bin/python setup.py sdist upload -r pypi
pypi-register:
/usr/bin/python setup.py register -r pypi
publish-all:
/usr/bin/python setup.py build register -r pypi sdist upload -r pypi