diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e72c04b18340a29af29bc51cb10a155dc2ec36b..6d860163214e0a884a7b547a707fb714bf8cdb87 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,3 +31,12 @@ test:
     paths:
       - htmlcov
     expire_in: 1 week
+
+upload:
+  stage: deploy
+  needs: ['test', ]
+  image: python:latest
+  script:
+    - pip install "setuptools>=62.6" twine
+    - python setup.py sdist
+    - 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/setup.cfg b/setup.cfg
index e76e3ded6ada519889d6c8964f5cbcbda2a85a88..a8edc3a8c53e47e5e745b44c1b61f7d592e5a045 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -25,5 +25,4 @@ classifiers =
 include_package_data = true
 packages = find:
 python_requires = >=3.6
-install_requires =
-    Django >= 3.2  # Replace "X.Y" as appropriate
\ No newline at end of file
+install_requires = file: requirements.txt
\ No newline at end of file