forked from UniversitaDellaCalabria/SATOSA-oidcop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (32 loc) · 1.1 KB
/
setup.py
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
import re
from glob import glob
from setuptools import setup
def readme():
with open('README.md') as f:
return f.read()
_pkg_name = 'satosa_oidcop'
setup(
name=_pkg_name,
description="SATOSA Frontend based on idetity python oidcop",
long_description=readme(),
long_description_content_type='text/markdown',
classifiers=['Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3'],
url='https://github.com/UniversitaDellaCalabria/satosa-oidcop',
author='Giuseppe De Marco',
author_email='[email protected]',
license='License :: OSI Approved :: GNU Affero General Public License v3',
packages=[f"{_pkg_name}"],
package_dir={f"{_pkg_name}": f"{_pkg_name}"},
package_data={f"{_pkg_name}": [
i.replace(f'{_pkg_name}/', '')
for i in glob(f'{_pkg_name}/**', recursive=True)
]
},
install_requires=[
"satosa>=8.0.0",
"pymongo>=3.11,<=4.3",
"oidcop>=2.3.3,<=2.4"
],
)