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

Last change on this file since 7561 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
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.2dev'
5
6install_requires =[
7    'setuptools',
8    #'gp.fileupload',
9    'grok',
10    'grokcore.startup',
11    'grokui.admin',
12    'hurry.query',
13    'hurry.jquery',
14    'hurry.jqueryui',
15    'hurry.workflow >= 0.11',
16    # Add extra requirements here
17    'docutils', # For RST-processing...
18    'zope.xmlpickle',
19    'hurry.file',
20    #'hurry.yui',
21    'hurry.zoperesource',
22    'zc.sourcefactory',
23    'megrok.layout',
24    'reportlab',
25    'PIL',
26    'dolmen.beaker',
27    'zope.app.authentication', # BBB: During switch to grok 1.1
28    'zope.app.file',
29    'zope.app.testing',        # XXX: test_permissions needs this
30    'zope.file',
31    'zope.interface >= 3.6.0',
32    'zope.testbrowser',        # XXX: test_permissions needs this
33    'zope.i18n',
34    'zope.mimetype',
35    'zope.errorview',
36    'zope.schema >= 3.8.0',
37    'zope.sendmail',
38    ],
39
40tests_require = [
41    'z3c.testsetup',
42    'zope.app.testing',
43    'zope.testbrowser',
44    'zope.testing',
45    'unittest2',
46    ]
47
48docs_require = [
49    'Sphinx',
50    'collective.recipe.sphinxbuilder',
51    'docutils',
52    'roman',
53    'repoze.sphinx.autointerface',
54    ]
55
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'
62    + read('src', 'waeup', 'sirp', 'app.txt')
63    + '\n\n'
64    + read('CHANGES.txt')
65    + '\n\n'
66    + 'Download\n'
67    + '********\n'
68    )
69
70setup(name = 'waeup.sirp',
71      version = version,
72      description = "A student online information and  registration portal",
73      long_description = long_description,
74
75      keywords = "portal waeup sirp student university registration grok zope",
76      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
77      classifiers = [
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        ],
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'),
95      namespace_packages = ['waeup',],
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,
102        docs = docs_require,
103        ),
104      entry_points="""
105      # Add entry points here
106      [hurry.resource.libraries]
107      waeup_sirp = waeup.sirp.browser.resources:waeup_sirp
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
115      """,
116      )
Note: See TracBrowser for help on using the repository browser.