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

Last change on this file since 16281 was 16157, checked in by Henrik Bettermann, 4 years ago

Prepare renderPDFAdmissionLetter for merging with another pdf document.

  • Property svn:keywords set to Id
File size: 3.9 KB
Line 
1import os
2from setuptools import setup, find_packages
3
4version = '1.6.1.dev0'
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.zoperesource',
21    'zc.sourcefactory',
22    'megrok.layout',
23    'reportlab',
24    'Pillow',
25    'psutil',
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    'PyPDF2',
43    ],
44
45diazo_require = [
46    'diazo',
47    'webob',
48    ]
49
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
59tests_require = [
60    'z3c.testsetup',
61    'zope.app.testing',
62    'zope.testbrowser',
63    'zope.testing',
64    'unittest2',
65    ]
66
67docs_require = [
68    'Sphinx',
69    'collective.recipe.sphinxbuilder',
70    'docutils',
71    'roman',
72    'repoze.sphinx.autointerface',
73    ]
74
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
87setup(name = 'waeup.kofa',
88      version = version,
89      description = "A student online information and  registration portal",
90      long_description = long_description,
91
92      keywords = "portal waeup kofa student university registration grok zope",
93      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
94      classifiers = [
95        'Development Status :: 4 - Beta',
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        'Programming Language :: Python :: 2',
103        'Programming Language :: Python :: 2.7',
104        'Programming Language :: Python :: 2 :: Only',
105        'Programming Language :: Python :: Implementation :: CPython',
106        'Framework :: Zope3',
107        'Topic :: Education',
108        'Topic :: Internet :: WWW/HTTP',
109        ],
110      author = "The WAeUP team.",
111      author_email = "de@waeup.org",
112      url = "http://www.waeup.org/",
113      license = "GPL",
114      package_dir = {'': 'src'},
115      packages= find_packages('src'),
116      namespace_packages = ['waeup',],
117      include_package_data = True,
118      zip_safe = False,
119      install_requires = install_requires,
120      tests_require = tests_require,
121      extras_require = dict(
122        test = tests_require,
123        docs = docs_require,
124        beaker = beaker_require,
125        diazo = diazo_require,
126        ),
127      entry_points="""
128      # Add entry points here
129      #[hurry.resource.libraries]
130      #waeup_kofa = waeup.kofa.browser.resources:waeup_kofa
131      [console_scripts]
132      kofa-debug = grokcore.startup:interactive_debug_prompt
133      kofactl = grokcore.startup:zdaemon_controller
134      analyze = waeup.kofa.maintenance:db_analyze
135      fsdiff = waeup.kofa.maintenance:db_diff
136      [paste.app_factory]
137      main = waeup.kofa.startup:env_app_factory
138      debug = waeup.kofa.startup:env_debug_app_factory
139
140      """,
141      )
Note: See TracBrowser for help on using the repository browser.