-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (17 loc) · 755 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
.DEFAULT_GOAL := help
install-test-requirements: ## pip install requirements for tests
pip install -r tests/requirements.txt
test: ## run tests
pytest -sv .
install-package-requirements: ## pip install requirements for packaging & uploading
pip install --upgrade pip setuptools wheel twine
package: ## create package (sdist)
python setup.py sdist bdist_wheel
package-upload: ## upload package to pypi
twine upload --skip-existing dist/*
package-test-upload: ## upload package to test-pypi
twine upload --skip-existing --repository testpypi dist/*
package-clear: ## clear dist directory
rm -rf dist/ build/ *.egg-info/ MANIFEST
help: ## show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'