-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
57 lines (48 loc) · 1.28 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
import os
from setuptools import setup, find_packages
from mockidp.__version__ import version
def load_readme():
with open('./README.md') as f:
return str(f.read())
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development',
'License :: OSI Approved :: MIT License',
"Programming Language :: Python :: 3.7"
]
config = {
'name': 'mock-idp',
'version': version,
'description': 'Mock SAML 2.0 Identity Provider',
'long_description': load_readme(),
'long_description_content_type': 'text/markdown',
'license': 'MIT',
'author': 'Björn Skoglund',
'author_email': '[email protected]',
'classifiers': classifiers,
'install_requires': [
'flask',
'lxml',
'PyYAML',
'flask-script',
'signxml',
'nose'
],
'packages': find_packages(),
'package_data': {'mockidp': [
'resources/*',
'resources/css/*',
'resources/img/*',
'keys/*',
'templates/*',
'templates/saml/*',
]},
'include_package_data': True,
'scripts': ['bin/mock-idp'],
}
setup(**config)