A collection of utilities to ease the usage of pytorch-ie.
pip install git+https://github.com/ArneBinder/pie-utils.git
or
pip install git+ssh://[email protected]/ArneBinder/pie-utils.git
or add this to your requirements.txt
:
git+https://github.com/ArneBinder/pie-utils
Note: You can specify a specific version by appending a version tag @v<version>
to the URL,
e.g. git+https://github.com/ArneBinder/[email protected]
.
git clone https://github.com/ArneBinder/pie-utils
cd pie-utils
pip install -e ".[dev]"
pre-commit run -a
run all tests with coverage:
pytest --cov --cov-report term-missing
- create a branch
release
from themain
branch - bump the version in
setup.py
. If the release contains new features, or breaking changes, bump the minor version (this project has no main release yet). If the release contains only bugfixes, bump the patch version. See Semantic Versioning for more information. - commit and push the changes
- create a pull request from
release
tomain
- wait for the CI to pass
- merge the pull request and delete the
release
branch (this is important, because otherwise the next release will fail) - create a new release on GitHub via the "Releases" tab and click on "Draft a new release".
- Click on "Choose a tag" and create a new one which should be the same as the version in
setup.py
, but prefixed withv
, e.g.v0.6.1
for version0.6.1
. - You can choose an appropriate release title.
- Click on "Generate release notes" to generate the release notes from the pull request descriptions.
- When everything looks fine, click on "Publish release" to publish the release.
- Click on "Choose a tag" and create a new one which should be the same as the version in