/
niceSOFT
/
packaging
Обзор
Документация
Войти
/
niceSOFT
/
packaging
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
19.2
docs/development/release-process.rst
35 строк
1 KB
Brett Cannon
Add a step about committing any last-minute changes
19 сен 2019, 01:33
19 сен 2019, 01:33
98d388f
Код
Авторство
О чём код?
Release Process =============== #. Checkout the current ``master`` branch, with a clean working directory. #. Modify the ``CHANGELOG.rst`` to include changes made since the last release and update the section header for the new release. #. Bump the version in ``packaging/__about__.py`` #. Install the latest ``setuptools``, ``wheel`` and ``twine`` packages from PyPI:: $ pip install --upgrade setuptools wheel twine #. Ensure no ``dist/`` folder exists and then create the distribution files:: $ python setup.py sdist bdist_wheel #. Check the built distribution files with ``twine``:: $ twine check dist/* #. Commit the changes to ``master``. #. If all goes well, upload the build distribution files:: $ twine upload dist/* #. Create a `release on GitHub <https://github.com/pypa/packaging/releases>`_ and include the artifacts uploaded to PyPI. #. Bump the version for development in ``packaging/__about__.py`` and ``CHANGELOG.rst``. #. Notify the other project owners of the release.