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

Last change on this file since 17823 was 17820, checked in by uli, 5 months ago

Add kpasswd for generating/setting kofa passwords.

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