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

Last change on this file since 11737 was 11701, checked in by uli, 11 years ago

Fix ReST markup in setup.py.

  • Property svn:keywords set to Id
File size: 3.7 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '1.3dev'
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    'z3c.evalexception',
42    ],
43
44diazo_require = [
45    'diazo',
46    'webob',
47    ]
48
49# Having beaker installed additionally is a feature very recommended
50# for production use. The default buildout includes beaker for tests,
51# start scripts, and other parts that can benefit from it. The windows
52# buildout does not include it due to compiling problems with the
53# beaker package.
54beaker_require = [
55    'dolmen.beaker',
56    ]
57
58tests_require = [
59    'z3c.testsetup',
60    'zope.app.testing',
61    'zope.testbrowser',
62    'zope.testing',
63    'unittest2',
64    ]
65
66docs_require = [
67    'Sphinx',
68    'collective.recipe.sphinxbuilder',
69    'docutils',
70    'roman',
71    'repoze.sphinx.autointerface',
72    ]
73
74def read(*rnames):
75    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
76
77long_description = (
78    read('README.txt')
79    + '\n\n'
80    + read('CHANGES.txt')
81    + '\n\n'
82    + 'Download\n'
83    + '********\n'
84    )
85
86setup(name = 'waeup.kofa',
87      version = version,
88      description = "A student online information and  registration portal",
89      long_description = long_description,
90
91      keywords = "portal waeup kofa student university registration grok zope",
92      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
93      classifiers = [
94        'Development Status :: 4 - Beta',
95        'Environment :: Web Environment',
96        'Intended Audience :: Education',
97        'License :: OSI Approved :: GNU General Public License (GPL)',
98        'Programming Language :: Python',
99        'Operating System :: POSIX',
100        'Operating System :: POSIX :: Linux',
101        'Framework :: Zope3',
102        'Topic :: Education',
103        'Topic :: Internet :: WWW/HTTP',
104        ],
105      author = "The WAeUP team.",
106      author_email = "",
107      url = "http://www.waeup.org/",
108      license = "GPL",
109      package_dir = {'': 'src'},
110      packages= find_packages('src'),
111      namespace_packages = ['waeup',],
112      include_package_data = True,
113      zip_safe = False,
114      install_requires = install_requires,
115      tests_require = tests_require,
116      extras_require = dict(
117        test = tests_require,
118        docs = docs_require,
119        beaker = beaker_require,
120        diazo = diazo_require,
121        ),
122      entry_points="""
123      # Add entry points here
124      #[hurry.resource.libraries]
125      #waeup_kofa = waeup.kofa.browser.resources:waeup_kofa
126      [console_scripts]
127      kofa-debug = grokcore.startup:interactive_debug_prompt
128      kofactl = grokcore.startup:zdaemon_controller
129      analyze = waeup.kofa.maintenance:db_analyze
130      fsdiff = waeup.kofa.maintenance:db_diff
131      [paste.app_factory]
132      main = waeup.kofa.startup:env_app_factory
133      debug = waeup.kofa.startup:env_debug_app_factory
134
135      """,
136      )
Note: See TracBrowser for help on using the repository browser.