-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
54 lines (48 loc) · 1.96 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
# -*- coding: utf-8 -*-
from __future__ import print_function
import sys
import os
from setuptools import setup
package_directory = os.path.dirname(os.path.abspath(__file__))
def get_file_contents(file_path):
"""Get the context of the file using full path name."""
content = ""
try:
full_path = os.path.join(package_directory, file_path)
content = open(full_path, 'r').read()
except:
print("### could not open file {0!r}".format(file_path), file=sys.stderr)
return content
setup(name='pi-ldapproxy',
version='0.7',
description='privacyIDEA LDAP Proxy based on Twisted',
packages=['pi_ldapproxy', 'pi_ldapproxy.test', 'twisted.plugins'],
author='privacyidea.org',
license='AGPLv3',
url='http://www.privacyidea.org',
install_requires=['ldaptor',
'six',
'Twisted',
'configobj',
'pyOpenSSL',
'zope.interface'],
long_description=get_file_contents('README.md'),
classifiers=[
"Framework :: Twisted",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Topic :: Internet",
"Topic :: Security",
"Topic :: System :: Systems Administration",
"Topic :: System :: Systems Administration :: Authentication/Directory",
"Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.9"]
)