forked from MostAwesomeDude/construct
-
Notifications
You must be signed in to change notification settings - Fork 153
/
Makefile
36 lines (25 loc) · 1010 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
help:
cat Makefile
test:
python3.9 -m pytest --benchmark-disable --showlocals
verbose:
python3.9 -m pytest --benchmark-disable --showlocals --verbose
xfails:
python3.9 -m pytest --benchmark-disable --verbose | egrep --color=always "xfail|XFAIL|xpass|XPASS"
cover:
python3.9 -m pytest --benchmark-disable --cov construct --cov-report html --cov-report term --verbose
bench:
python3.9 -m pytest --benchmark-enable --benchmark-columns=min,stddev --benchmark-sort=name --benchmark-compare
benchsave:
python3.9 -m pytest --benchmark-enable --benchmark-columns=min,stddev --benchmark-sort=name --benchmark-compare --benchmark-autosave
html:
cd docs; make html
installdeps:
apt-get install python3.9 python3-pip python3-sphinx --upgrade
python3.9 -m pip install pytest pytest-benchmark pytest-cov twine --upgrade
python3.9 -m pip install enum34 numpy arrow ruamel.yaml cloudpickle lz4 --upgrade
version:
./version-increment
upload:
python3.9 ./setup.py sdist
python3.9 -m twine upload dist/*