diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b9568e..9e13111 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,7 +59,9 @@ pypi-twine: only: - tags script: + - python3 -m venv twine_env + - source twine_env/bin/activate - pip install --upgrade pip - - pip install twine - - python3 setup.py sdist bdist_wheel + - pip install twine build + - python3 -m build - twine upload dist/*