Modify Makefile for releases

This commit is contained in:
Sylvain Bellemare 2017-02-07 14:44:45 +01:00 committed by Sylvain Bellemare
parent acc5b2fd42
commit 1d0396212b

View File

@ -74,13 +74,12 @@ docs: ## generate Sphinx HTML documentation, including API docs
servedocs: docs ## compile the docs watching for changes
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
release: clean ## package and upload a release
python setup.py sdist upload
python setup.py bdist_wheel upload
release: clean ## package and upload a release (requires a `~/.pypirc` file)
twine upload dist/*
dist: clean ## builds source and wheel package
dist: clean ## builds source (and not for now, wheel package)
python setup.py sdist
python setup.py bdist_wheel
# python setup.py bdist_wheel
ls -l dist
install: clean ## install the package to the active Python's site-packages