-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·39 lines (32 loc) · 974 Bytes
/
setup.py
File metadata and controls
executable file
·39 lines (32 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/python3
#
# Like what you see? Join us!
# https://www.univention.com/about-us/careers/vacancies/
#
# SPDX-FileCopyrightText: 2004-2025 Univention GmbH
# SPDX-License-Identifier: AGPL-3.0-only
import io
from email.utils import parseaddr
from debian.changelog import Changelog
from debian.deb822 import Deb822
from setuptools import setup
dch = Changelog(io.open('debian/changelog', 'r', encoding='utf-8'))
dsc = Deb822(io.open('debian/control', 'r', encoding='utf-8'))
realname, email_address = parseaddr(dsc['Maintainer'])
setup(
description='Univention Portal',
url='https://www.univention.de/',
license='GNU Affero General Public License v3',
packages=[
'univention.portal',
'univention.portal.extensions',
'univention.portal.handlers',
],
package_dir={
'': 'python',
},
name=dch.package,
version=dch.version.full_version,
maintainer=realname,
maintainer_email=email_address,
)