[87e8bf]: / .github / DeployPypi.md

Download this file

44 lines (39 with data), 1.1 kB

Current Solution to release

Update the CHANGELOG.md

Update version

  • Update version in myosuite/__init__.py
  • Update version in setup.py
  • Update .github/CHANGELOG.md
  • Update the doc version in docs/source/conf.py

Make a tag

git tag v0.0.2

Commit changes from branch something

 git commit -m "[something] 0.0.2 release"

Push and tag branch something

git push --tags origin [branch]

build a new package (default repo in dist/)

python3 setup.py bdist_wheel --universal

Upload to pypi

python3 -m twine upload --repository pypi dist/*

Verify proper upload

conda create --name test_myosuite python=3.7.1
conda activate test_myosuite
pip install myosuite
python3 -c "import myosuite; print(f'MyoSuite version: {myosuite.__version__}')"
python3 myosuite/tests/test_myo.py
conda deactivate
conda remove --name test_myosuite --all

Create a newly tagged release

Visit this page and create the newly tagged release.