source: main/waeup.kofa/trunk/setup.py @ 10008

Last change on this file since 10008 was 9999, checked in by uli, 12 years ago

Upgrade maturity level.

  • Property svn:keywords set to Id
File size: 3.6 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',
[5057]26    'zope.app.authentication', # BBB: During switch to grok 1.1
[5632]27    'zope.app.file',
[5067]28    'zope.app.testing',        # XXX: test_permissions needs this
[7666]29    'zope.app.undo',
[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',
[8492]38    'ulif.loghandlers',
[9217]39    'zc.async[z3]',
[5057]40    ],
41
[7570]42# Having beaker installed additionally is a feature very recommended
43# for production use. The default buildout includes beaker for tests,
44# start scripts, and other parts that can benefit from it. The windows
45# buildout does not include it due to compiling problems with the
46# beaker package.
47beaker_require = [
48    'dolmen.beaker',
49    ]
50
[5057]51tests_require = [
52    'z3c.testsetup',
53    'zope.app.testing',
54    'zope.testbrowser',
55    'zope.testing',
[5836]56    'unittest2',
[5057]57    ]
58
[5632]59docs_require = [
60    'Sphinx',
61    'collective.recipe.sphinxbuilder',
62    'docutils',
63    'roman',
[5661]64    'repoze.sphinx.autointerface',
[5632]65    ]
66
[4945]67def read(*rnames):
68    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
69
70long_description = (
71    read('README.txt')
72    + '\n\n'
[7808]73    + read('src', 'waeup', 'kofa', 'app.txt')
[4945]74    + '\n\n'
75    + read('CHANGES.txt')
76    + '\n\n'
77    + 'Download\n'
78    + '********\n'
79    )
80
[7808]81setup(name = 'waeup.kofa',
[5057]82      version = version,
83      description = "A student online information and  registration portal",
84      long_description = long_description,
[4945]85
[7808]86      keywords = "portal waeup kofa student university registration grok zope",
[4945]87      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
[5057]88      classifiers = [
[9999]89        'Development Status :: 4 - Beta',
[4945]90        'Environment :: Web Environment',
91        'Intended Audience :: Education',
92        'License :: OSI Approved :: GNU General Public License (GPL)',
93        'Programming Language :: Python',
94        'Operating System :: POSIX',
95        'Operating System :: POSIX :: Linux',
96        'Framework :: Zope3',
97        'Topic :: Education',
98        'Topic :: Internet :: WWW/HTTP',
99        ],
[5057]100      author = "The WAeUP team.",
101      author_email = "",
102      url = "http://www.waeup.org/",
103      license = "GPL",
104      package_dir = {'': 'src'},
105      packages= find_packages('src'),
[4919]106      namespace_packages = ['waeup',],
[5057]107      include_package_data = True,
108      zip_safe = False,
109      install_requires = install_requires,
110      tests_require = tests_require,
111      extras_require = dict(
112        test = tests_require,
[5632]113        docs = docs_require,
[7570]114        beaker = beaker_require,
[4789]115        ),
[3518]116      entry_points="""
117      # Add entry points here
[5836]118      [hurry.resource.libraries]
[7808]119      waeup_kofa = waeup.kofa.browser.resources:waeup_kofa
[5495]120      [console_scripts]
[7808]121      kofa-debug = grokcore.startup:interactive_debug_prompt
122      kofactl = grokcore.startup:zdaemon_controller
[8418]123      analyze = waeup.kofa.maintenance:db_analyze
[5495]124      [paste.app_factory]
[9217]125      main = waeup.kofa.startup:env_app_factory
126      debug = waeup.kofa.startup:env_debug_app_factory
[5495]127
[3518]128      """,
129      )
Note: See TracBrowser for help on using the repository browser.