-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
55 lines (39 loc) · 1.14 KB
/
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
49
50
51
52
53
54
55
# See file COPYING distributed with python-hypothesis for copyright and
# license.
default : build
PACKAGE_FILES = dist/python-hypothesis-0.4.2.tar.gz \
dist/python_hypothesis-0.4.2-py2-none-any.whl \
dist/python_hypothesis-0.4.2-py3-none-any.whl
build : $(PACKAGE_FILES)
dist/python-hypothesis-0.4.2.tar.gz :
python3 setup.py sdist
dist/python_hypothesis-0.4.2-py2-none-any.whl :
python setup.py bdist_wheel
dist/python_hypothesis-0.4.2-py3-none-any.whl :
python3 setup.py bdist_wheel
register :
python setup.py register
upload : $(PACKAGE_FILES)
python3 -m twine upload $^
check :
python setup.py check
test :
python -m unittest -vb tests
test3 :
python3 -m unittest -vb tests
ctest :
PYTHON_HYPOTHESIS_TESTS_CONFIG=ctests.config python -m unittest -vb tests
ctest3 :
PYTHON_HYPOTHESIS_TESTS_CONFIG=ctests.config python3 -m unittest -vb tests
clean :
rm -rf MANIFEST \
h_annot/*.pyc \
tests/*.pyc \
h_annot/__pycache__ \
tests/__pycache__ \
build \
python_hypothesis.egg-info \
.eggs
clobber : clean
rm -rf dist
# eof