2018-02-14 23:37:15 +00:00
|
|
|
env:
|
|
|
|
virtualenv -p python3 env
|
|
|
|
./env/bin/pip install -r requirements.txt
|
|
|
|
|
2018-02-17 02:09:10 +00:00
|
|
|
.PHONY: run
|
2018-02-14 23:37:15 +00:00
|
|
|
run: env
|
|
|
|
./env/bin/python -m minitor.main
|
2018-02-17 02:09:10 +00:00
|
|
|
|
|
|
|
.PHONY: build
|
|
|
|
build: env
|
|
|
|
./env/bin/python setup.py sdist
|
|
|
|
./env/bin/python setup.py bdist_wheel
|
|
|
|
|
|
|
|
.PHONY: upload
|
|
|
|
upload: env
|
|
|
|
./env/bin/twine upload dist/*
|
|
|
|
|
|
|
|
.PHONY: upload-test
|
|
|
|
upload-test: env
|
|
|
|
./env/bin/twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -fr ./build ./dist ./minitor.egg-info
|