Switch to setup.cfg due to deprecation of setup.py

This commit is contained in:
Peter Pfeufer
2022-03-09 09:50:40 +00:00
committed by Ariel Rin
parent c377bcec5f
commit 6846bb7cdc
6 changed files with 93 additions and 93 deletions

View File

@@ -134,11 +134,13 @@ deploy_production:
image: python:3.10-bullseye
before_script:
- pip install twine wheel
- python -m pip install --upgrade pip
- python -m pip install --upgrade build
- python -m pip install --upgrade setuptools wheel twine
script:
- python setup.py sdist bdist_wheel
- twine upload dist/*
- python -m build
- python -m twine upload dist/*
rules:
- if: $CI_COMMIT_TAG