source: main/waeup.sirp/trunk/setup.py @ 5675

Last change on this file since 5675 was 5661, checked in by uli, 14 years ago

Require repoze.spingx.autointerface.

This way we can document interfaces with Sphinx. Stock Sphinx fails to
document interfaces.

File size: 2.7 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.2dev'
5
6install_requires =[
7    'setuptools',
8    'grok',
9    'grokcore.startup',
10    'grokui.admin',
11    'hurry.query',
12    'hurry.workflow',
13    # Add extra requirements here
14    'zope.xmlpickle',
15    'hurry.file',
16    'hurry.yui',
17    'hurry.zoperesource',
18    'zc.sourcefactory',
19    'megrok.layout',
20    'zope.app.authentication', # BBB: During switch to grok 1.1
21    'zope.app.file',
22    'zope.app.testing',        # XXX: test_permissions needs this
23    'zope.file',
24    'zope.testbrowser',        # XXX: test_permissions needs this
25    'zope.i18n',
26    'zope.mimetype',
27    ],
28
29tests_require = [
30    'z3c.testsetup',
31    'zope.app.testing',
32    'zope.testbrowser',
33    'zope.testing',
34    ]
35
36docs_require = [
37    'Sphinx',
38    'collective.recipe.sphinxbuilder',
39    'docutils',
40    'roman',
41    'repoze.sphinx.autointerface',
42    ]
43
44def read(*rnames):
45    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
46
47long_description = (
48    read('README.txt')
49    + '\n\n'
50    + read('src', 'waeup', 'sirp', 'README.txt')
51    + '\n\n'
52    + read('CHANGES.txt')
53    + '\n\n'
54    + 'Download\n'
55    + '********\n'
56    )
57
58setup(name = 'waeup.sirp',
59      version = version,
60      description = "A student online information and  registration portal",
61      long_description = long_description,
62
63      keywords = "portal waeup sirp student university registration grok zope",
64      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
65      classifiers = [
66        'Development Status :: 3 - Alpha',
67        'Environment :: Web Environment',
68        'Intended Audience :: Education',
69        'License :: OSI Approved :: GNU General Public License (GPL)',
70        'Programming Language :: Python',
71        'Operating System :: POSIX',
72        'Operating System :: POSIX :: Linux',
73        'Framework :: Zope3',
74        'Topic :: Education',
75        'Topic :: Internet :: WWW/HTTP',
76        ],
77      author = "The WAeUP team.",
78      author_email = "",
79      url = "http://www.waeup.org/",
80      license = "GPL",
81      package_dir = {'': 'src'},
82      packages= find_packages('src'),
83      namespace_packages = ['waeup',],
84      include_package_data = True,
85      zip_safe = False,
86      install_requires = install_requires,
87      tests_require = tests_require,
88      extras_require = dict(
89        test = tests_require,
90        docs = docs_require,
91        ),
92      entry_points="""
93      # Add entry points here
94      [console_scripts]
95      sirp-debug = grokcore.startup:interactive_debug_prompt
96      sirpctl = grokcore.startup:zdaemon_controller
97      [paste.app_factory]
98      main = grokcore.startup:application_factory
99      debug = grokcore.startup:debug_application_factory
100
101      """,
102      )
Note: See TracBrowser for help on using the repository browser.