diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 592005f57fff77006be73717eb2e2404a444659f..f52cee6a3101ac06780ecbd75baf1bde3cc5c816 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,7 +67,7 @@ test_python311:
 build_python:
   stage: build
   before_script:
-    - pip install --break-system-packages --upgrade Cython setuptools pip
+    - pip install --break-system-packages --upgrade Cython setuptools pip twine
   script:
     - python setup.py bdist_wheel
     - mv dist/*.whl .
@@ -75,7 +75,6 @@ build_python:
     paths:
       - "*.whl"
   after_script:
-    - pip install twine
     - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python3 -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi *.whl
   only:
     - tags
diff --git a/snakehouse/__init__.py b/snakehouse/__init__.py
index 383b3245fb0aa0030255e8cc0ed69f506d74c7ae..b0a39794f039436b9d7afa71cf22147a518a0075 100644
--- a/snakehouse/__init__.py
+++ b/snakehouse/__init__.py
@@ -3,4 +3,4 @@ from .multibuild import Multibuild, find_all
 from .faster_builds import monkey_patch_parallel_compilation
 from .requirements import read_requirements_txt, find_c, find_pyx_and_c, find_pyx
 
-__version__ = '2.0'
\ No newline at end of file
+__version__ = '2.0'