Skip to content
Snippets Groups Projects
Commit 01427699 authored by Corné Lukken's avatar Corné Lukken
Browse files

Add publication of stingray package to pypi

parent 8b17d883
No related branches found
Tags v0.0.23
1 merge request!30Add publication of stingray package to pypi
......@@ -148,6 +148,21 @@ publish_on_gitlab:
python -m twine upload \
--repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
publish_on_pypi:
stage: publish
environment: pypi
needs:
- package_files
when: manual
rules:
- if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
script:
- echo "run twine for gitlab"
- |
TWINE_PASSWORD="${PYPI_TOKEN}" \
TWINE_USERNAME="__token__" \
python -m twine upload dist/*
publish_to_readthedocs:
stage: publish
allow_failure: true
......
......@@ -3,11 +3,11 @@ name = lofar-stingray
description = LOFAR station statistics gather and dump utility, writes station statistics continuously to the local S3 based object storage.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://git.astron.nl/templates/python-package
url = https://git.astron.nl/lofar2.0/stingray
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
......@@ -17,8 +17,8 @@ classifiers =
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Utilities
Topic :: System :: Archiving :: Compression
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Astronomy
......
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