Skip to content

Deployment

JaDoggx86 edited this page Sep 18, 2022 · 3 revisions

How to do a deployment using twine

  1. Update setup.py to a new version. Do same for all __init__.py and pydoro_tui.py Commit and push it.

  2. Ensure that README.rst hash LF line endings. (Twine bug on Windows)

  3. Create a git tag and push it (Same as the version in previous step)

git tag -a "0.1.4" -m "Using emoji tomatoes"
git push --tags
  1. Create distributions
python setup.py sdist bdist_wheel bdist_egg
  1. Check with twine
twine check dist/*
  1. Upload using twine
twine upload dist/*
  1. Create exe
make_exe
  1. Upload exe to github release and add a description.
Clone this wiki locally