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

Last change on this file since 7471 was 7470, checked in by uli, 13 years ago

First sketches of smart SMTP handling for our portal deploying zope.sendmail. Requires new buildout run. Also check new mail.zcml.

File size: 3.1 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
[5632]29    'zope.file',
[6287]30    'zope.interface >= 3.6.0',
[5067]31    'zope.testbrowser',        # XXX: test_permissions needs this
[5328]32    'zope.i18n',
[5632]33    'zope.mimetype',
[6200]34    'zope.errorview',
[6287]35    'zope.schema >= 3.8.0',
[7470]36    'zope.sendmail',
[5057]37    ],
38
39tests_require = [
40    'z3c.testsetup',
41    'zope.app.testing',
42    'zope.testbrowser',
43    'zope.testing',
[5836]44    'unittest2',
[5057]45    ]
46
[5632]47docs_require = [
48    'Sphinx',
49    'collective.recipe.sphinxbuilder',
50    'docutils',
51    'roman',
[5661]52    'repoze.sphinx.autointerface',
[5632]53    ]
54
[4945]55def read(*rnames):
56    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
57
58long_description = (
59    read('README.txt')
60    + '\n\n'
[6901]61    + read('src', 'waeup', 'sirp', 'app.txt')
[4945]62    + '\n\n'
63    + read('CHANGES.txt')
64    + '\n\n'
65    + 'Download\n'
66    + '********\n'
67    )
68
[5057]69setup(name = 'waeup.sirp',
70      version = version,
71      description = "A student online information and  registration portal",
72      long_description = long_description,
[4945]73
[5057]74      keywords = "portal waeup sirp student university registration grok zope",
[4945]75      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
[5057]76      classifiers = [
[4945]77        'Development Status :: 3 - Alpha',
78        'Environment :: Web Environment',
79        'Intended Audience :: Education',
80        'License :: OSI Approved :: GNU General Public License (GPL)',
81        'Programming Language :: Python',
82        'Operating System :: POSIX',
83        'Operating System :: POSIX :: Linux',
84        'Framework :: Zope3',
85        'Topic :: Education',
86        'Topic :: Internet :: WWW/HTTP',
87        ],
[5057]88      author = "The WAeUP team.",
89      author_email = "",
90      url = "http://www.waeup.org/",
91      license = "GPL",
92      package_dir = {'': 'src'},
93      packages= find_packages('src'),
[4919]94      namespace_packages = ['waeup',],
[5057]95      include_package_data = True,
96      zip_safe = False,
97      install_requires = install_requires,
98      tests_require = tests_require,
99      extras_require = dict(
100        test = tests_require,
[5632]101        docs = docs_require,
[4789]102        ),
[3518]103      entry_points="""
104      # Add entry points here
[5836]105      [hurry.resource.libraries]
106      waeup_sirp = waeup.sirp.browser.resources:waeup_sirp
[5495]107      [console_scripts]
108      sirp-debug = grokcore.startup:interactive_debug_prompt
109      sirpctl = grokcore.startup:zdaemon_controller
110      [paste.app_factory]
111      main = grokcore.startup:application_factory
112      debug = grokcore.startup:debug_application_factory
113
[3518]114      """,
115      )
Note: See TracBrowser for help on using the repository browser.