-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
65 lines (60 loc) · 1.88 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
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
except IOError:
README = CHANGES = ''
requires = [
'pyramid>=1.3',
'six', # required by `ldappool` but not in their requirements file
]
if 'READTHEDOCS' not in os.environ:
# hail mary for readthedocs
requires.extend(['ldappool>=2.2.0', 'python-ldap>=3.0'])
sampleapp_extras = [
'waitress',
'pyramid_debugtoolbar',
]
testing_extras = ['nose', 'coverage']
docs_extras = [
'Sphinx >= 1.7.4',
'pylons-sphinx-themes',
]
setup(name='pyramid_ldap',
version='0.3.1.post1',
description='pyramid_ldap',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pylons",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP",
"License :: Repoze Public License",
],
author='Chris McDonough',
author_email='[email protected]',
url='https://pylonsproject.org',
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
keywords='web pyramid pylons ldap',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires,
extras_require={
'sampleapp': sampleapp_extras,
'docs': docs_extras,
'testing': testing_extras,
},
test_suite="pyramid_ldap",
entry_points="""\
[paste.app_factory]
sampleapp = sampleapp:main
""",
)