CloudBender/Makefile

17 lines
347 B
Makefile
Raw Normal View History

.PHONY: test dist test_upload upload
test:
tox
clean:
2019-04-18 16:30:50 +00:00
rm -rf .tox .cache .coverage .eggs cloudbender.egg-info .pytest_cache dist
dist:
python setup.py bdist_wheel --universal
test_upload: clean dist
twine upload --repository-url https://test.pypi.org/legacy/ dist/cloudbender-*.whl
upload: clean dist
twine upload dist/cloudbender-*.whl