source: main/waeup.sirp/branches/ulif-groktoolkit-1.4/setup.py @ 9146

Last change on this file since 9146 was 7713, checked in by uli, 13 years ago

Some modifications that make it possible at least to create a new university with Grok toolkit 1.4 (grok 1.6)

File size: 3.8 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',
[7713]16    'fanstatic',
17    #'zope.fanstatic',
18    'js.jquery_datatables',
[5057]19    # Add extra requirements here
[5854]20    'docutils', # For RST-processing...
[5057]21    'zope.xmlpickle',
[5632]22    'hurry.file',
[6028]23    #'hurry.yui',
[5057]24    'hurry.zoperesource',
25    'zc.sourcefactory',
26    'megrok.layout',
[6194]27    'reportlab',
[6360]28    'PIL',
[7713]29    #'zope.app.authentication', # BBB: During switch to grok 1.1
30    'zope.authentication',
31    'zope.pluggableauth',
32    'zope.principalannotation',
33    #'zope.app.file',
34    #'zope.app.testing',        # XXX: test_permissions needs this
35    #'zope.app.undo',
36    #'zope.app.zcmlfiles',
37    #'zope.app.wsgi',
38    #'zope.app.appsetup',
39    #'zope.file',
40    'zope.app.schema',         # XXX: for registering named vocabs
[6287]41    'zope.interface >= 3.6.0',
[5067]42    'zope.testbrowser',        # XXX: test_permissions needs this
[5328]43    'zope.i18n',
[5632]44    'zope.mimetype',
[6200]45    'zope.errorview',
[6287]46    'zope.schema >= 3.8.0',
[7470]47    'zope.sendmail',
[5057]48    ],
49
[7570]50# Having beaker installed additionally is a feature very recommended
51# for production use. The default buildout includes beaker for tests,
52# start scripts, and other parts that can benefit from it. The windows
53# buildout does not include it due to compiling problems with the
54# beaker package.
55beaker_require = [
56    'dolmen.beaker',
57    ]
58
[5057]59tests_require = [
60    'z3c.testsetup',
61    'zope.app.testing',
62    'zope.testbrowser',
63    'zope.testing',
[5836]64    'unittest2',
[5057]65    ]
66
[5632]67docs_require = [
68    'Sphinx',
69    'collective.recipe.sphinxbuilder',
70    'docutils',
71    'roman',
[5661]72    'repoze.sphinx.autointerface',
[5632]73    ]
74
[4945]75def read(*rnames):
76    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
77
78long_description = (
79    read('README.txt')
80    + '\n\n'
[6901]81    + read('src', 'waeup', 'sirp', 'app.txt')
[4945]82    + '\n\n'
83    + read('CHANGES.txt')
84    + '\n\n'
85    + 'Download\n'
86    + '********\n'
87    )
88
[5057]89setup(name = 'waeup.sirp',
90      version = version,
91      description = "A student online information and  registration portal",
92      long_description = long_description,
[4945]93
[5057]94      keywords = "portal waeup sirp student university registration grok zope",
[4945]95      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
[5057]96      classifiers = [
[4945]97        'Development Status :: 3 - Alpha',
98        'Environment :: Web Environment',
99        'Intended Audience :: Education',
100        'License :: OSI Approved :: GNU General Public License (GPL)',
101        'Programming Language :: Python',
102        'Operating System :: POSIX',
103        'Operating System :: POSIX :: Linux',
104        'Framework :: Zope3',
105        'Topic :: Education',
106        'Topic :: Internet :: WWW/HTTP',
107        ],
[5057]108      author = "The WAeUP team.",
109      author_email = "",
110      url = "http://www.waeup.org/",
111      license = "GPL",
112      package_dir = {'': 'src'},
113      packages= find_packages('src'),
[4919]114      namespace_packages = ['waeup',],
[5057]115      include_package_data = True,
116      zip_safe = False,
117      install_requires = install_requires,
118      tests_require = tests_require,
119      extras_require = dict(
120        test = tests_require,
[5632]121        docs = docs_require,
[7570]122        beaker = beaker_require,
[4789]123        ),
[3518]124      entry_points="""
125      # Add entry points here
[5836]126      [hurry.resource.libraries]
127      waeup_sirp = waeup.sirp.browser.resources:waeup_sirp
[5495]128      [console_scripts]
129      sirp-debug = grokcore.startup:interactive_debug_prompt
130      sirpctl = grokcore.startup:zdaemon_controller
131      [paste.app_factory]
132      main = grokcore.startup:application_factory
133      debug = grokcore.startup:debug_application_factory
[7713]134      [fanstatic.libraries]
135      waeup.sirp = waeup.sirp.browser.resources:waeup_kofa
[5495]136
[3518]137      """,
138      )
Note: See TracBrowser for help on using the repository browser.