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

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

Require zope.errorview for exception views.

File size: 3.0 KB
RevLine 
[4945]1import os
[3518]2from setuptools import setup, find_packages
3
[4955]4version = '0.2dev'
[3518]5
[5057]6install_requires =[
7    'setuptools',
8    'grok',
[5495]9    'grokcore.startup',
[5057]10    'grokui.admin',
11    'hurry.query',
[5836]12    'hurry.jquery',
13    'hurry.jqueryui',
[5057]14    'hurry.workflow',
15    # Add extra requirements here
[5854]16    'docutils', # For RST-processing...
[5057]17    'zope.xmlpickle',
[5632]18    'hurry.file',
[6028]19    #'hurry.yui',
[5057]20    'hurry.zoperesource',
21    'zc.sourcefactory',
22    'megrok.layout',
[6194]23    'reportlab',
[5057]24    'zope.app.authentication', # BBB: During switch to grok 1.1
[5632]25    'zope.app.file',
[5067]26    'zope.app.testing',        # XXX: test_permissions needs this
[5632]27    'zope.file',
[5067]28    'zope.testbrowser',        # XXX: test_permissions needs this
[5328]29    'zope.i18n',
[5632]30    'zope.mimetype',
[6200]31    'zope.errorview',
[5057]32    ],
33
34tests_require = [
35    'z3c.testsetup',
36    'zope.app.testing',
37    'zope.testbrowser',
38    'zope.testing',
[5836]39    'unittest2',
[5057]40    ]
41
[5632]42docs_require = [
43    'Sphinx',
44    'collective.recipe.sphinxbuilder',
45    'docutils',
46    'roman',
[5661]47    'repoze.sphinx.autointerface',
[5632]48    ]
49
[4945]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
[5057]64setup(name = 'waeup.sirp',
65      version = version,
66      description = "A student online information and  registration portal",
67      long_description = long_description,
[4945]68
[5057]69      keywords = "portal waeup sirp student university registration grok zope",
[4945]70      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
[5057]71      classifiers = [
[4945]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        ],
[5057]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'),
[4919]89      namespace_packages = ['waeup',],
[5057]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,
[5632]96        docs = docs_require,
[4789]97        ),
[3518]98      entry_points="""
99      # Add entry points here
[5836]100      [hurry.resource.libraries]
101      waeup_sirp = waeup.sirp.browser.resources:waeup_sirp
[5495]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
[3518]109      """,
110      )
Note: See TracBrowser for help on using the repository browser.