-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
88 lines (79 loc) · 3.09 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
78
79
80
81
82
83
84
85
86
87
88
#!/usr/bin/env python
"""Distribution Utilities setup program for Certificate Authority Package
Contrail Project
"""
__author__ = "P J Kershaw"
__date__ = "24/10/12"
__copyright__ = "(C) 2012 Science and Technology Facilities Council"
__license__ = """BSD - See LICENSE file in top-level directory"""
__contact__ = "[email protected]"
__revision__ = '$Id$'
# Bootstrap setuptools if necessary.
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'ContrailCA',
version = '0.2.0',
description = 'Certificate Authority',
long_description = '''\
Provides a simple implementation of a Certificate Authority. It uses the
PyOpenSSL for bindings to OpenSSL but also includes the ability to callout
direct to an openssl command for more fine-grained control over the certificate
issuing process if required.
The code has been developed for the Contrail Project, http://contrail-project.eu/
Prerequisites
=============
This has been developed and tested for Python 2.7.
Installation
============
Installation can be performed using easy_install or pip.
Configuration
=============
Examples are contained in ``contrail.security.ca.test``.
''',
author = 'Philip Kershaw',
author_email = '[email protected]',
maintainer = 'Philip Kershaw',
maintainer_email = '[email protected]',
url = 'https://github.com/cedadev/CertificateAuthority',
platforms = ['POSIX', 'Linux', 'Windows'],
install_requires = ['pyOpenSSL'],
# Required for Subject Alt Names unit test only
extras_require = {'subjectAltName_support': 'pyasn1'},
license = __license__,
test_suite = 'contrail.security.onlineca.client.test',
packages = find_packages(),
package_data = {
'contrail.security.ca.test': [
'README', '*.cfg', '*.crt', '*.key',
'ca_config/serial', 'ca_config/index.txt',
'ca_config/newcerts/README', 'ca_config/*.crt', 'ca_config/*.key',
'ca_config/test-ca.cfg'
]
},
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Security',
'Topic :: Internet',
'Topic :: Scientific/Engineering',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Systems Administration :: Authentication/Directory',
'Topic :: Software Development :: Libraries :: Python Modules'
],
zip_safe = False
)