diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e879c93..44321707 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -157,8 +157,8 @@ package-api-twine: - echo "${PIP_SECRET}" | base64 -d > $HOME/.pypirc - cp -v README.md api/README.md - cd api - - pip install build twine - - python -m build + - pip3 install -r requirements/dev.txt + - python3 -m build - twine check dist/* - twine upload --repository onnx-web dist/* artifacts: diff --git a/api/requirements/dev.txt b/api/requirements/dev.txt index 00503e74..8696e178 100644 --- a/api/requirements/dev.txt +++ b/api/requirements/dev.txt @@ -1,3 +1,8 @@ +# build +build +twine +wheel + # lint black flake8