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

Last change on this file since 6272 was 6200, checked in by uli, 13 years ago

Require zope.errorview for exception views.

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