From 32ff3c99ecb9baf6fe93e10fede79794ab6b26c4 Mon Sep 17 00:00:00 2001 From: Yoann Schneider <yschneider@teklia.com> Date: Thu, 1 Feb 2024 16:16:39 +0100 Subject: [PATCH] Use new way of building packages --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93144ac..520a545 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,8 +69,8 @@ deploy-pypi: TWINE_REPOSITORY_URL: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi before_script: - - pip install twine + - pip install twine build script: - - python setup.py sdist bdist_wheel + - python -m build - twine upload --repository-url ${TWINE_REPOSITORY_URL} dist/* -- GitLab