diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a569ef8f27ed36521372237840648b73b42db145..1660dd8e2b38baeddb3d3a77994d71502b6055b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -192,13 +192,10 @@ publish_on_pypi: - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"' script: - echo "run twine for pypi" - # - | - # TWINE_PASSWORD=${PIPY_TOKEN} \ - # TWINE_USERNAME=${PIPY_USERNAME} \ - # TODO: replace URL with a pipy URL - # python -m twine upload \ - # --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* - - exit 1 + - | + TWINE_PASSWORD="${PYPI_TOKEN}" \ + TWINE_USERNAME="__token__" \ + python -m twine upload dist/* publish_to_readthedocs: stage: publish diff --git a/setup.cfg b/setup.cfg index a303484ba36403b32d48b5464c58024bed54aa97..1339e4cbe85227b1948e7885a230f94c4d0fe552 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ url = https://git.astron.nl/lofar2.0/cryptocoryne license = Apache License 2.0 classifiers = Development Status :: 3 - Alpha - Environment :: Web Environment + Environment :: No Input/Output (Daemon) Intended Audience :: Developers Intended Audience :: Science/Research License :: OSI Approved :: Apache Software License @@ -19,8 +19,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 - Topic :: Internet :: WWW/HTTP - Topic :: Internet :: WWW/HTTP :: Dynamic Content + Topic :: Security Topic :: Scientific/Engineering Topic :: Scientific/Engineering :: Astronomy