This repo utilizes python-semantic-release in conjunction with GitHub Actions to create releases automatically.
ONLY UNDER LIMITED CIRCUMSTANCES SHOULD THIS PROCESS BE USED!
- Python 3.10+
- virtualenvwrapper
Execute the following command to get a full list of make
targets:
$ make help
Create a Python virtual environment:
$ mkvirtualenv -p py310 pytest-flask-ligand
Setup develop environment:
$ make develop-venv
Setup git pre-commit hooks:
$ make setup-pre-commit
Verify that environment is ready for development:
$ make test-all
The following environment variables are necessary for creating a full production release:
ENV | Description |
GH_TOKEN |
A personal access token from GitHub. This is used for authenticating when pushing tags, publishing releases etc. See Configuring push to Github for usage. To generate a token go to https://github.com/settings/tokens and click on Personal access token. |
REPOSITORY_USERNAME |
Used together with REPOSITORY_PASSWORD when publishing artifact. Note: If you use token authentication with pypi set this to __token__. |
REPOSITORY_PASSWORD |
Used together with REPOSITORY_USERNAME when publishing artifact. Also used for token when using token authentication. |
Simply execute the following make
target:
$ make publish