This repository has been archived by the owner on Jan 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
77 lines (66 loc) · 2.11 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
70
71
72
73
74
75
76
77
#!/usr/bin/python
#
# Copyright (C) 2016 Custodia project Contributors, for licensee see COPYING
import sys
import setuptools
from setuptools import setup
SETUPTOOLS_VERSION = tuple(int(v) for v in setuptools.__version__.split("."))
requirements = [
'custodia >= 0.5.0',
'ipalib >= 4.5.0',
'ipaclient >= 4.5.0',
'six',
]
# test requirements
test_requires = ['coverage', 'pytest']
extras_require = {
'test': test_requires,
'test_docs': ['docutils', 'markdown'],
'test_pep8': ['flake8', 'flake8-import-order', 'pep8-naming'],
'test_pylint': ['pylint'] + test_requires,
}
# backwards compatibility with old setuptools
# unittest.mock was added in Python 3.3
if SETUPTOOLS_VERSION < (18, 0, 0) and sys.version_info < (3, 3):
requirements.append('mock')
else:
extras_require[':python_version<"3.3"'] = ['mock']
with open('README') as f:
long_description = f.read()
setup(
name='custodia.ipa',
description='FreeIPA Vault plugin for Custodia',
long_description=long_description,
version='0.5.dev3',
license='GPLv3+',
maintainer='Custodia project Contributors',
maintainer_email='cheimes@redhat.com',
url='https://github.com/latchset/custodia.ipa',
namespace_packages=['custodia'],
package_dir={'': 'src'},
packages=[
'custodia.ipa',
],
entry_points={
'custodia.stores': [
'IPAVault = custodia.ipa.vault:IPAVault',
'IPACertRequest = custodia.ipa.certrequest:IPACertRequest'
],
'custodia.authenticators': [
'IPAInterface = custodia.ipa.interface:IPAInterface',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'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,
)