source: main/waeup.kofa/branches/uli-fix-zc-async/setup.py @ 17385

Last change on this file since 17385 was 17299, checked in by Henrik Bettermann, 22 months ago

Back to work.

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