Cook Executor is released on PyPI
Ensure you can build the executor followng the instructions in README.md
Install twine
:
pip3 install twine
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.
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/*