From ca539456b5c988cd91c38323d9f18cb4344b314c Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Wed, 26 Feb 2025 11:05:03 +0100 Subject: [PATCH] use build to build --- .gitlab-ci.yml | 2 +- requirements-dev.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b8989c..d86f80b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,5 +26,5 @@ upload: - main script: - pip install -r requirements-dev.txt - - python setup.py sdist + - python -m build - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --verbose --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* diff --git a/requirements-dev.txt b/requirements-dev.txt index b979367..e3846d9 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ setuptools>=62.6 twine -black=~25.1.0 \ No newline at end of file +black=~25.1.0 +build \ No newline at end of file -- GitLab