source: main/waeup.kofa/branches/0.2/setup.py @ 15642

Last change on this file since 15642 was 11167, checked in by uli, 11 years ago

Bump version.

  • Property svn:keywords set to Id
File size: 3.6 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '0.2.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    'Pillow',
26    'unicodecsv',
27    'zope.app.authentication', # BBB: During switch to grok 1.1
28    'zope.app.file',
29    'zope.app.testing',        # XXX: test_permissions needs this
30    'zope.app.undo',
31    'zope.file',
32    'zope.interface >= 3.6.0',
33    'zope.testbrowser',        # XXX: test_permissions needs this
34    'zope.i18n',
35    'zope.mimetype',
36    'zope.errorview',
37    'zope.schema >= 3.8.0',
38    'zope.sendmail',
39    'ulif.loghandlers',
40    'zc.async[z3]',
41    ],
42
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
52tests_require = [
53    'z3c.testsetup',
54    'zope.app.testing',
55    'zope.testbrowser',
56    'zope.testing',
57    'unittest2',
58    ]
59
60docs_require = [
61    'Sphinx',
62    'collective.recipe.sphinxbuilder',
63    'docutils',
64    'roman',
65    'repoze.sphinx.autointerface',
66    ]
67
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'
74    + read('src', 'waeup', 'kofa', 'app.txt')
75    + '\n\n'
76    + read('CHANGES.txt')
77    + '\n\n'
78    + 'Download\n'
79    + '********\n'
80    )
81
82setup(name = 'waeup.kofa',
83      version = version,
84      description = "A student online information and  registration portal",
85      long_description = long_description,
86
87      keywords = "portal waeup kofa student university registration grok zope",
88      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
89      classifiers = [
90        'Development Status :: 4 - Beta',
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        ],
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'),
107      namespace_packages = ['waeup',],
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,
114        docs = docs_require,
115        beaker = beaker_require,
116        ),
117      entry_points="""
118      # Add entry points here
119      [hurry.resource.libraries]
120      waeup_kofa = waeup.kofa.browser.resources:waeup_kofa
121      [console_scripts]
122      kofa-debug = grokcore.startup:interactive_debug_prompt
123      kofactl = grokcore.startup:zdaemon_controller
124      analyze = waeup.kofa.maintenance:db_analyze
125      fsdiff = waeup.kofa.maintenance:db_diff
126      [paste.app_factory]
127      main = waeup.kofa.startup:env_app_factory
128      debug = waeup.kofa.startup:env_debug_app_factory
129
130      """,
131      )
Note: See TracBrowser for help on using the repository browser.