forked from UniversitaDellaCalabria/uniAuth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (51 loc) · 1.95 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import re
import sys
from glob import glob
from setuptools import setup, find_packages
_src_folder = '.'
_pkg_name = 'uniauth_saml2_idp'
def readme():
with open('README.md') as f:
return f.read()
def get_requirements(fname='requirements.txt'):
fopen = open(fname, 'r')
return fopen.read().splitlines()
setup(
name="uniauth_saml2_idp",
version='2.0.1',
description="uniAuth is a Django SAML2 Identity Provider",
long_description=readme(),
long_description_content_type='text/markdown',
author='Giuseppe De Marco, Francesco Filicetti',
author_email='giuseppe.demarco@unical.it, francesco.filicetti@unical.it',
license="Apache 2.0",
url='https://github.com/UniversitaDellaCalabria/uniAuth',
packages=[f"{_pkg_name}"],
package_dir={f"{_pkg_name}": f"{_src_folder}/{_pkg_name}"},
package_data={f"{_pkg_name}": [i.replace(f'{_src_folder}/{_pkg_name}/', '')
for i in glob(f'{_src_folder}/{_pkg_name}/**',
recursive=True)]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
install_requires=get_requirements(),
zip_safe=False,
)