diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3789a8e0e614e2002ac33c79f48ae0729742a49f..a833db47d03bc6e91e6c184d4e0b8d502de4ae3e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@ image: python:latest
 
 run:
   script:
-    - pip install build twine
+    - pip install build twine setuptools
     - python setup.py sdist bdist_wheel
     - ls -al
     - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*