added uvicorn in requirements
This commit is contained in:
@ -56,14 +56,11 @@ release:
|
|||||||
stage: release
|
stage: release
|
||||||
when: manual
|
when: manual
|
||||||
variables:
|
variables:
|
||||||
TWINE_USERNAME: gitlab-ci-token # GitLab's default token username for PyPI
|
TWINE_USERNAME: gitlab-ci-token # Use CI default username for GitLab PyPI
|
||||||
TWINE_PASSWORD: $TWINE_PASSWORD # Personal access token with `write_package_registry` scope
|
TWINE_PASSWORD: $CI_JOB_TOKEN # CI job token for authentication
|
||||||
tags:
|
|
||||||
- x86
|
|
||||||
- python
|
|
||||||
script:
|
script:
|
||||||
- pip install --upgrade pip
|
- pip install build twine # Install dependencies
|
||||||
- pip install build twine
|
- python -m build # Build the package
|
||||||
- python setup.py sdist bdist_wheel
|
|
||||||
- twine upload \
|
- twine upload \
|
||||||
--repository-url https://gitlab.psi.ch/api/v4/projects/2206/packages/pypidist/*
|
--repository-url https://gitlab.psi.ch/api/v4/projects/2206/packages/pypi \
|
||||||
|
dist/*
|
Reference in New Issue
Block a user