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

Last change on this file since 12315 was 11798, checked in by uli, 10 years ago

Add psutil as dependency.

  • Property svn:keywords set to Id
File size: 3.7 KB
RevLine 
[4945]1import os
[3518]2from setuptools import setup, find_packages
3
[11693]4version = '1.3dev'
[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',
[11798]26    'psutil',
[10027]27    'unicodecsv',
[5057]28    'zope.app.authentication', # BBB: During switch to grok 1.1
[5632]29    'zope.app.file',
[5067]30    'zope.app.testing',        # XXX: test_permissions needs this
[7666]31    'zope.app.undo',
[5632]32    'zope.file',
[6287]33    'zope.interface >= 3.6.0',
[5067]34    'zope.testbrowser',        # XXX: test_permissions needs this
[5328]35    'zope.i18n',
[5632]36    'zope.mimetype',
[6200]37    'zope.errorview',
[6287]38    'zope.schema >= 3.8.0',
[7470]39    'zope.sendmail',
[8492]40    'ulif.loghandlers',
[9217]41    'zc.async[z3]',
[11254]42    'z3c.evalexception',
[5057]43    ],
44
[11254]45diazo_require = [
46    'diazo',
47    'webob',
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'
81    + read('CHANGES.txt')
82    + '\n\n'
83    + 'Download\n'
84    + '********\n'
85    )
86
[7808]87setup(name = 'waeup.kofa',
[5057]88      version = version,
89      description = "A student online information and  registration portal",
90      long_description = long_description,
[4945]91
[7808]92      keywords = "portal waeup kofa student university registration grok zope",
[4945]93      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
[5057]94      classifiers = [
[9999]95        'Development Status :: 4 - Beta',
[4945]96        'Environment :: Web Environment',
97        'Intended Audience :: Education',
98        'License :: OSI Approved :: GNU General Public License (GPL)',
99        'Programming Language :: Python',
100        'Operating System :: POSIX',
101        'Operating System :: POSIX :: Linux',
102        'Framework :: Zope3',
103        'Topic :: Education',
104        'Topic :: Internet :: WWW/HTTP',
105        ],
[5057]106      author = "The WAeUP team.",
107      author_email = "",
108      url = "http://www.waeup.org/",
109      license = "GPL",
110      package_dir = {'': 'src'},
111      packages= find_packages('src'),
[4919]112      namespace_packages = ['waeup',],
[5057]113      include_package_data = True,
114      zip_safe = False,
115      install_requires = install_requires,
116      tests_require = tests_require,
117      extras_require = dict(
118        test = tests_require,
[5632]119        docs = docs_require,
[7570]120        beaker = beaker_require,
[11254]121        diazo = diazo_require,
[4789]122        ),
[3518]123      entry_points="""
124      # Add entry points here
[11254]125      #[hurry.resource.libraries]
126      #waeup_kofa = waeup.kofa.browser.resources:waeup_kofa
[5495]127      [console_scripts]
[7808]128      kofa-debug = grokcore.startup:interactive_debug_prompt
129      kofactl = grokcore.startup:zdaemon_controller
[8418]130      analyze = waeup.kofa.maintenance:db_analyze
[10183]131      fsdiff = waeup.kofa.maintenance:db_diff
[5495]132      [paste.app_factory]
[9217]133      main = waeup.kofa.startup:env_app_factory
134      debug = waeup.kofa.startup:env_debug_app_factory
[5495]135
[3518]136      """,
137      )
Note: See TracBrowser for help on using the repository browser.