testenv: pip install -e . release: python setup.py sdist bdist_wheel twine upload dist/* register: python setup.py sdist register -r pypi # Test it via `pip install -i https://test.pypi.org/simple/ <project_name>` test-release: python setup.py sdist bdist_wheel upload -r test test-register: python setup.py sdist register -r test clean: find . -name "*.pyc" -exec rm {} \; rm -rf *.egg-info rm -rf build/ dist/ __pycache__/ .PHONY: clean register release