-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·91 lines (86 loc) · 3.39 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
89
90
91
#!/usr/bin/env python
"""SAML 2.0 Package
NERC DataGrid Project
This implementation is adapted from the Java OpenSAML implementation.
"""
__author__ = "P J Kershaw"
__date__ = "10/08/09"
__copyright__ = "Copyright 2019 United Kingdom Research and Innovation"
__license__ = "BSD - see LICENSE file in top-level package directory"
__contact__ = "[email protected]"
# 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
with open('README.md') as f:
_long_description = f.read()
setup(
name = 'ndg_saml',
version = '0.9.1',
description = ('SAML 2.0 implementation for the NERC DataGrid '
'based on the Java OpenSAML library'),
long_description = _long_description,
long_description_content_type='text/markdown',
author = 'Philip Kershaw',
author_email = '[email protected]',
maintainer = 'Philip Kershaw',
maintainer_email = '[email protected]',
url = 'https://github.com/cedadev/ndg_saml',
license = 'BSD - See ndg/saml/LICENCE file for details',
packages = find_packages(),
package_data = {
'ndg.saml': [
'LICENSE',
'test/binding/soap/*.ini',
'test/binding/soap/localhost.*',
'test/binding/soap/ca/*.0'
],
'ndg.soap': [
'LICENSE',
],
},
extras_require = {
# These additional packages are needed if you wish to use the SOAP
# binding, Nb. M2Crypto can be used in place of ndg-httpsclient if
# required. ndg-httpsclient provides a urllib2 interface to PyOpenSSL
'soap_binding': ["ndg-httpsclient",
"Paste>=2.0.3",
"PasteDeploy>=2.0.1",
"PasteScript>=2.0.2"],
'test_http_server': ['waitress', 'gunicorn'],
# Required for the SAML profile to XACML - enables richer functionality
# for expressing authorisation queries and decisions.
'xacml_profile': ['ndg_xacml'],
},
entry_points = {
'console_scripts': [
'ndg_saml_client = ndg.saml.utils.command_line_client:'
'SamlSoapCommandLineClient.main',
],
},
classifiers = [
'Development Status :: 5 - Production/Stable',
'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',
'Programming Language :: Python :: 3',
'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
)