Something went wrong on our end
-
Frank Baier authored
Introduced a `pyproject.toml` file to define project metadata, dependencies, and Python version requirements. Added a `.gitlab-ci.yml` for automated builds and PyPI package uploads in the CI pipeline.
Frank Baier authoredIntroduced a `pyproject.toml` file to define project metadata, dependencies, and Python version requirements. Added a `.gitlab-ci.yml` for automated builds and PyPI package uploads in the CI pipeline.
.gitlab-ci.yml 328 B
image: python:latest
run-default:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- pip install build twine
- python -m build
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*