Skip to content
Snippets Groups Projects
Verified Commit 05df7091 authored by nd's avatar nd
Browse files

package uffd for pip

parent 3c4ca66e
No related branches found
Tags v0.1.2
No related merge requests found
......@@ -71,3 +71,13 @@ trans_de:
script:
- ./update_translations.sh de
coverage: '/^TOTAL.*\s+(\d+\%)$/'
publish-pip:
stage: deploy
script:
- pip3 install build twine
- PACKAGE_VERSION="${CI_COMMIT_TAG#v}" python3 -m build
- TWINE_USERNAME="${GITLABPKGS_USERNAME}" TWINE_PASSWORD="${GITLABPKGS_PASSWORD}" python3 -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
- TWINE_USERNAME="${PYPI_USERNAME}" TWINE_PASSWORD="${PYPI_PASSWORD}" python3 -m twine upload dist/*
rules:
- if: '$CI_COMMIT_TAG =~ /v[0-9]+[.][0-9]+[.][0-9]+.*/'
setup.py 0 → 100644
from setuptools import setup, find_packages
import os
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='uffd',
version=os.environ.get('PACKAGE_VERSION', 'local'),
description='UserFerwaltungsFrontend: Ldap based single sign on and user management web software',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://git.cccv.de/uffd/uffd',
classifiers=[
'Programming Language :: Python :: 3',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Environment :: Web Environment',
'Framework :: Flask',
],
author='CCCV',
author_email='it@cccv.de',
license='AGPL3',
packages=find_packages(),
zip_safe=False,
python_requires='>=3.7',
)
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