File: Makefile

package info (click to toggle)
construct 2.10.68%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 1,812 kB
  • sloc: python: 11,793; makefile: 135
file content (36 lines) | stat: -rw-r--r-- 1,010 bytes parent folder | download | duplicates (2)
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
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/*