-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
69 lines (59 loc) · 1.78 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
62
63
64
65
66
67
68
69
import os
from setuptools import setup
requirements = [
'custodia',
'requests',
]
# test requirements
test_requires = ['coverage', 'pytest', 'mock'] + requirements
extras_require = {
'test': test_requires,
'test_docs': ['docutils', 'markdown'],
'test_pep8': [
'flake8', 'flake8-import-order', 'pep8-naming',
] + requirements,
'test_pylint': ['pylint'] + test_requires,
}
with open('README') as f:
long_description = f.read()
about = {}
with open(os.path.join('src', 'custodia', 'openshift', '__about__.py')) as f:
exec(f.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
long_description=long_description,
license=about['__license__'],
url=about['__uri__'],
author=about['__author__'],
author_email=about['__email__'],
maintainer=about['__author__'],
maintainer_email=about['__email__'],
namespace_packages=['custodia'],
package_dir={'': 'src'},
packages=[
'custodia.openshift',
],
entry_points={
'custodia.authenticators': [
'ContainerAuth = custodia.openshift.auth:ContainerAuth',
],
'custodia.authorizers': [
('OpenShiftHostnameAuthz = '
'custodia.openshift.authz:OpenShiftHostnameAuthz'),
],
},
classifiers=[
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Developers',
'Topic :: Security',
'Topic :: Software Development :: Libraries :: Python Modules'
],
install_requires=requirements,
tests_require=test_requires,
extras_require=extras_require,
)