diff --git a/Makefile b/Makefile index eae5f18..80cc07b 100644 --- a/Makefile +++ b/Makefile @@ -7,5 +7,14 @@ test_install: install test: test_install @py.test --cov-report term-missing --cov=elasticmock -upload: - @python setup.py sdist upload \ No newline at end of file +upload: create_dist + @twine upload dist/* + +create_dist: install_twine + @python setup.py sdist upload + +install_twine: update_pip + @pip install twine + +update_pip: + @pip install --upgrade pip