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

Last change on this file since 10996 was 10183, checked in by uli, 11 years ago

Register the new fsdiff tool as a script that will be built
automatically when buildout is run.

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