forked from pretaweb/dm.zope.saml2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (45 loc) · 1.62 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
from os.path import abspath, dirname, join
try:
# try to use setuptools
from setuptools import setup
setupArgs = dict(
include_package_data=True,
install_requires=['dm.saml2>=3.1.2',
"dm.zope.schema>=2.0.1",
"zope.event",
"setuptools", # to keep buildout happy
],
namespace_packages=['dm', 'dm.zope'],
zip_safe=False,
)
except ImportError:
# use distutils
from distutils import setup
setupArgs = dict(
)
cd = abspath(dirname(__file__))
pd = join(cd, 'dm', 'zope', 'saml2')
def pread(filename, base=pd): return open(join(base, filename)).read().rstrip()
setup(name='dm.zope.saml2',
version=pread('VERSION.txt').split('\n')[0],
description="Zope 2/Plone extension for SAML2 based Single Sign On: identity, attribute and service providers",
long_description=pread('README.txt'),
classifiers=[
# 'Development Status :: 3 - Alpha',
"Development Status :: 4 - Beta",
# 'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
"License :: OSI Approved :: GNU General Public License (GPL)",
'Framework :: Zope2',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
],
author='Dieter Maurer',
author_email='[email protected]',
url='http://pypi.python.org/pypi/dm.zope.saml2',
packages=['dm', 'dm.zope', 'dm.zope.saml2'],
keywords='application development zope saml2 sso plone',
license='ZPL',
**setupArgs
)