Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Latest commit

 

History

History
38 lines (33 loc) · 1.13 KB

RELEASING.md

File metadata and controls

38 lines (33 loc) · 1.13 KB

Releasing Cook Executor

Cook Executor is released on PyPI

Prerequisites

Ensure you can build the executor followng the instructions in README.md

Install twine:

pip3 install twine

Test Release

Since PyPI does not allow modifying releases, it can be useful to test a release using their test instance.

rm -rf dist/*
python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

Then, in a separate virtualenv for testing:

pip3 install  --index-url https://test.pypi.org/simple/ --no-deps cook-executor==$VERSION
pip3 install pymesos==0.3.9 # install any other required dependencies from the main pypi repo
cook-executor

If there is an issue with the release, you can just release another version. They are GC-ed periodically from the test instance.

Production Release

When you're ready to release the final version, just build and upload to the standard PyPI repo.

rm -rf dist/*
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*