Improved packaging procedure

closes #366
This commit is contained in:
Bruno Bord 2019-07-04 16:47:18 +02:00
parent 46b20cf5d5
commit bde45f693a
3 changed files with 8 additions and 11 deletions

View File

@ -22,7 +22,7 @@ For information, read and make sure you're okay with the [Contributing guideline
- [ ] Add version in Changelog.md ; trim things
- [ ] Push & wait for the tests to be green
- [ ] tag me.
- [ ] build sdist package
- [ ] build sdist + wheel packages (``make package``)
- Back to dev commit:
- [ ] Edit version in setup.py
- [ ] Add the "master / nothing to see here" in Changelog.md
@ -32,7 +32,7 @@ For information, read and make sure you're okay with the [Contributing guideline
- [ ] Push tag in Github
- [ ] Edit release on Github using the changelog.
- [ ] Delete branch
- [ ] upload release on PyPI
- [ ] upload release on PyPI using ``twine``
- [ ] (*optional*) Make feeback on the various PR or issues.
-->

View File

@ -2,7 +2,7 @@
## master (unreleased)
Nothing here yet.
- Refactored the package building procedure, now linked to `make package` ; added a note about this target in the PR template (#366).
## v5.2.0 (2019-07-04)

View File

@ -37,11 +37,8 @@ else
${TOX_COMMAND} -- ${TEST_ARGS}
endif
# target: wheel_install - install wheel in your current environment
wheel_install:
pip install wheel
# target: pypi - upload current version on PYPI
.PHONY: pypi
pypi: wheel_install
python setup.py sdist bdist_wheel upload
# target: package - build packages for further upload
.PHONY: package
package:
rm -Rf build/
python setup.py sdist bdist_wheel