Skip to content
Snippets Groups Projects
Commit d9eb96c3 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

publish package

parent ab46003c
No related branches found
No related tags found
No related merge requests found
......@@ -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/*
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment