-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (31 loc) · 735 Bytes
/
Copy pathMakefile
File metadata and controls
47 lines (31 loc) · 735 Bytes
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
.PHONY: pip_install
pip_install:
pipenv install --dev
.PHONY: test
test:
pytest -v --cov --cov-report=term --cov-report=html
.PHONY: build
build: clean
python setup.py sdist
python setup.py bdist_wheel
twine check dist/*
.PHONY: clean
clean:
rm -rf ./build/*
rm -rf ./dist/*
rm -rf ./htmlcov
.PHONY: install_local
install_local:
pip install -e .
.PHONY: install_test
install_test:
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple syn-reports
.PHONY: publish_test
publish_test: build
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
.PHONY: publish
publish: build
twine upload dist/*
.PHONY: uninstall
uninstall:
pip uninstall -y syn-reports