source: main/waeup.kofa/backup-trunk/setup.py @ 9744

Last change on this file since 9744 was 8492, checked in by uli, 12 years ago

Use DatedRotatingFileHandler? for logging.

  • Property svn:keywords set to Id
File size: 3.5 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.2dev'
5
6install_requires =[
7    'setuptools',
8    #'gp.fileupload',
9    'grok',
10    'grokcore.startup',
11    'grokui.admin',
12    'hurry.query',
13    'hurry.jquery',
14    'hurry.jqueryui',
15    'hurry.workflow >= 0.11',
16    # Add extra requirements here
17    'docutils', # For RST-processing...
18    'zope.xmlpickle',
19    'hurry.file',
20    #'hurry.yui',
21    'hurry.zoperesource',
22    'zc.sourcefactory',
23    'megrok.layout',
24    'reportlab',
25    'PIL',
26    'zope.app.authentication', # BBB: During switch to grok 1.1
27    'zope.app.file',
28    'zope.app.testing',        # XXX: test_permissions needs this
29    'zope.app.undo',
30    'zope.file',
31    'zope.interface >= 3.6.0',
32    'zope.testbrowser',        # XXX: test_permissions needs this
33    'zope.i18n',
34    'zope.mimetype',
35    'zope.errorview',
36    'zope.schema >= 3.8.0',
37    'zope.sendmail',
38    'ulif.loghandlers',
39    ],
40
41# Having beaker installed additionally is a feature very recommended
42# for production use. The default buildout includes beaker for tests,
43# start scripts, and other parts that can benefit from it. The windows
44# buildout does not include it due to compiling problems with the
45# beaker package.
46beaker_require = [
47    'dolmen.beaker',
48    ]
49
50tests_require = [
51    'z3c.testsetup',
52    'zope.app.testing',
53    'zope.testbrowser',
54    'zope.testing',
55    'unittest2',
56    ]
57
58docs_require = [
59    'Sphinx',
60    'collective.recipe.sphinxbuilder',
61    'docutils',
62    'roman',
63    'repoze.sphinx.autointerface',
64    ]
65
66def read(*rnames):
67    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
68
69long_description = (
70    read('README.txt')
71    + '\n\n'
72    + read('src', 'waeup', 'kofa', 'app.txt')
73    + '\n\n'
74    + read('CHANGES.txt')
75    + '\n\n'
76    + 'Download\n'
77    + '********\n'
78    )
79
80setup(name = 'waeup.kofa',
81      version = version,
82      description = "A student online information and  registration portal",
83      long_description = long_description,
84
85      keywords = "portal waeup kofa student university registration grok zope",
86      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
87      classifiers = [
88        'Development Status :: 3 - Alpha',
89        'Environment :: Web Environment',
90        'Intended Audience :: Education',
91        'License :: OSI Approved :: GNU General Public License (GPL)',
92        'Programming Language :: Python',
93        'Operating System :: POSIX',
94        'Operating System :: POSIX :: Linux',
95        'Framework :: Zope3',
96        'Topic :: Education',
97        'Topic :: Internet :: WWW/HTTP',
98        ],
99      author = "The WAeUP team.",
100      author_email = "",
101      url = "http://www.waeup.org/",
102      license = "GPL",
103      package_dir = {'': 'src'},
104      packages= find_packages('src'),
105      namespace_packages = ['waeup',],
106      include_package_data = True,
107      zip_safe = False,
108      install_requires = install_requires,
109      tests_require = tests_require,
110      extras_require = dict(
111        test = tests_require,
112        docs = docs_require,
113        beaker = beaker_require,
114        ),
115      entry_points="""
116      # Add entry points here
117      [hurry.resource.libraries]
118      waeup_kofa = waeup.kofa.browser.resources:waeup_kofa
119      [console_scripts]
120      kofa-debug = grokcore.startup:interactive_debug_prompt
121      kofactl = grokcore.startup:zdaemon_controller
122      analyze = waeup.kofa.maintenance:db_analyze
123      [paste.app_factory]
124      main = grokcore.startup:application_factory
125      debug = grokcore.startup:debug_application_factory
126
127      """,
128      )
Note: See TracBrowser for help on using the repository browser.