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

Last change on this file since 7527 was 7492, checked in by uli, 13 years ago

Make read-only requests, i.e. requests that do only set the session
(each request does that) a lot faster by bypassing ZODB with
dolmen.beaker.

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