If you do not already have poetry
installed, install it following the Poetry installation documentation.
Then install dependencies from poetry.lock
:
cd ro-crate-uploader
poetry install
Activate the virtual environment:
poetry shell
Configure Zenodo access token(s) as in user guide - Set up a Zenodo personal access token.
Beware that tests can make Zenodo uploads using your access token.
In the root directory:
pytest
- Update the version in
pyproject.toml
- Make a git tag for the release and push it to GitHub
- Run
poetry build
- Run
poetry publish -u <username> -p <password_or_api_key>
- Create a release on GitHub, including the build artifacts