Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uffd2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
thies
uffd2
Commits
05df7091
Verified
Commit
05df7091
authored
3 years ago
by
nd
Browse files
Options
Downloads
Patches
Plain Diff
package uffd for pip
parent
3c4ca66e
No related branches found
Tags
v0.1.2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+10
-0
10 additions, 0 deletions
.gitlab-ci.yml
setup.py
+30
-0
30 additions, 0 deletions
setup.py
with
40 additions
and
0 deletions
.gitlab-ci.yml
+
10
−
0
View file @
05df7091
...
...
@@ -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]+.*/'
This diff is collapsed.
Click to expand it.
setup.py
0 → 100644
+
30
−
0
View file @
05df7091
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
'
,
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment