Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (50 sloc) 1.645 kb
d17e40a @mcdonc first cut
mcdonc authored
1 import os
2
3 from setuptools import setup, find_packages
4
5 here = os.path.abspath(os.path.dirname(__file__))
50d913b @mcdonc add a reasonable readme
mcdonc authored
6 README = open(os.path.join(here, 'README.rst')).read()
d17e40a @mcdonc first cut
mcdonc authored
7 CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
8
9 requires = [
10 'pyramid>=1.3a9',
11 ]
f076448 @mcdonc another hail mary
mcdonc authored
12 if not 'READTHEDOCS' in os.environ:
13 # hail mary for readthedocs
14 requires.extend(['ldappool', 'python-ldap'])
d17e40a @mcdonc first cut
mcdonc authored
15
6812bc8 @mcdonc prep for initial github upload
mcdonc authored
16 sampleapp_extras = [
d17e40a @mcdonc first cut
mcdonc authored
17 'waitress',
18 'pyramid_debugtoolbar',
19 ]
6812bc8 @mcdonc prep for initial github upload
mcdonc authored
20 testing_extras = ['nose', 'coverage']
21 docs_extras = ['Sphinx']
d17e40a @mcdonc first cut
mcdonc authored
22
23 setup(name='pyramid_ldap',
6812bc8 @mcdonc prep for initial github upload
mcdonc authored
24 version='0.1',
d17e40a @mcdonc first cut
mcdonc authored
25 description='pyramid_ldap',
26 long_description=README + '\n\n' + CHANGES,
27 classifiers=[
28 "Programming Language :: Python",
29 "Framework :: Pylons",
30 "Programming Language :: Python :: 2.6",
31 "Programming Language :: Python :: 2.7",
32 "Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP",
6812bc8 @mcdonc prep for initial github upload
mcdonc authored
33 "License :: Repoze Public License",
d17e40a @mcdonc first cut
mcdonc authored
34 ],
35 author='Chris McDonough',
36 author_email='pylons-discuss@groups.google.com',
37 url='http://pylonsproject.org',
6812bc8 @mcdonc prep for initial github upload
mcdonc authored
38 license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
d17e40a @mcdonc first cut
mcdonc authored
39 keywords='web pyramid pylons ldap',
40 packages=find_packages(),
41 include_package_data=True,
42 zip_safe=False,
43 install_requires=requires,
44 tests_require=requires,
6812bc8 @mcdonc prep for initial github upload
mcdonc authored
45 extras_require = {
46 'sampleapp':sampleapp_extras,
47 'docs':docs_extras,
48 'testing':testing_extras,
49 },
d17e40a @mcdonc first cut
mcdonc authored
50 test_suite="pyramid_ldap",
51 entry_points = """\
52 [paste.app_factory]
53 sampleapp = sampleapp:main
54 """,
55 )
56
Something went wrong with that request. Please try again.