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

Last change on this file since 5927 was 5854, checked in by uli, 14 years ago

Require docutils.

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