diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d50f9f6..dc876dc 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -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. --> diff --git a/Changelog.md b/Changelog.md index bf4bdad..3087037 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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) diff --git a/Makefile b/Makefile index f0acfec..271f7dc 100644 --- a/Makefile +++ b/Makefile @@ -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