[4945] | 1 | import os |
---|
[3518] | 2 | from setuptools import setup, find_packages |
---|
| 3 | |
---|
[17274] | 4 | # Please also change version numbers in Dockerfile |
---|
[17299] | 5 | version = '1.8.2.dev0' |
---|
[3518] | 6 | |
---|
[5057] | 7 | install_requires =[ |
---|
| 8 | 'setuptools', |
---|
[7470] | 9 | #'gp.fileupload', |
---|
[5057] | 10 | 'grok', |
---|
[5495] | 11 | 'grokcore.startup', |
---|
[5057] | 12 | 'grokui.admin', |
---|
| 13 | 'hurry.query', |
---|
[5836] | 14 | 'hurry.jquery', |
---|
| 15 | 'hurry.jqueryui', |
---|
[6349] | 16 | 'hurry.workflow >= 0.11', |
---|
[5057] | 17 | # Add extra requirements here |
---|
[5854] | 18 | 'docutils', # For RST-processing... |
---|
[5057] | 19 | 'zope.xmlpickle', |
---|
[5632] | 20 | 'hurry.file', |
---|
[5057] | 21 | 'hurry.zoperesource', |
---|
| 22 | 'zc.sourcefactory', |
---|
| 23 | 'megrok.layout', |
---|
[6194] | 24 | 'reportlab', |
---|
[10108] | 25 | 'Pillow', |
---|
[11798] | 26 | 'psutil', |
---|
[10027] | 27 | 'unicodecsv', |
---|
[5057] | 28 | 'zope.app.authentication', # BBB: During switch to grok 1.1 |
---|
[5632] | 29 | 'zope.app.file', |
---|
[5067] | 30 | 'zope.app.testing', # XXX: test_permissions needs this |
---|
[7666] | 31 | 'zope.app.undo', |
---|
[5632] | 32 | 'zope.file', |
---|
[6287] | 33 | 'zope.interface >= 3.6.0', |
---|
[5067] | 34 | 'zope.testbrowser', # XXX: test_permissions needs this |
---|
[5328] | 35 | 'zope.i18n', |
---|
[5632] | 36 | 'zope.mimetype', |
---|
[6200] | 37 | 'zope.errorview', |
---|
[6287] | 38 | 'zope.schema >= 3.8.0', |
---|
[7470] | 39 | 'zope.sendmail', |
---|
[8492] | 40 | 'ulif.loghandlers', |
---|
[9217] | 41 | 'zc.async[z3]', |
---|
[11254] | 42 | 'z3c.evalexception', |
---|
[16157] | 43 | 'PyPDF2', |
---|
[5057] | 44 | ], |
---|
| 45 | |
---|
[11254] | 46 | diazo_require = [ |
---|
| 47 | 'diazo', |
---|
| 48 | 'webob', |
---|
| 49 | ] |
---|
| 50 | |
---|
[7570] | 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. |
---|
| 56 | beaker_require = [ |
---|
| 57 | 'dolmen.beaker', |
---|
| 58 | ] |
---|
| 59 | |
---|
[5057] | 60 | tests_require = [ |
---|
| 61 | 'z3c.testsetup', |
---|
| 62 | 'zope.app.testing', |
---|
| 63 | 'zope.testbrowser', |
---|
| 64 | 'zope.testing', |
---|
[5836] | 65 | 'unittest2', |
---|
[5057] | 66 | ] |
---|
| 67 | |
---|
[5632] | 68 | docs_require = [ |
---|
| 69 | 'Sphinx', |
---|
| 70 | 'collective.recipe.sphinxbuilder', |
---|
| 71 | 'docutils', |
---|
| 72 | 'roman', |
---|
[5661] | 73 | 'repoze.sphinx.autointerface', |
---|
[5632] | 74 | ] |
---|
| 75 | |
---|
[4945] | 76 | def read(*rnames): |
---|
| 77 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
| 78 | |
---|
| 79 | long_description = ( |
---|
| 80 | read('README.txt') |
---|
| 81 | + '\n\n' |
---|
| 82 | + read('CHANGES.txt') |
---|
| 83 | + '\n\n' |
---|
| 84 | + 'Download\n' |
---|
| 85 | + '********\n' |
---|
| 86 | ) |
---|
| 87 | |
---|
[7808] | 88 | setup(name = 'waeup.kofa', |
---|
[5057] | 89 | version = version, |
---|
| 90 | description = "A student online information and registration portal", |
---|
| 91 | long_description = long_description, |
---|
[4945] | 92 | |
---|
[7808] | 93 | keywords = "portal waeup kofa student university registration grok zope", |
---|
[4945] | 94 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
[5057] | 95 | classifiers = [ |
---|
[9999] | 96 | 'Development Status :: 4 - Beta', |
---|
[4945] | 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', |
---|
[13284] | 103 | 'Programming Language :: Python :: 2', |
---|
| 104 | 'Programming Language :: Python :: 2.7', |
---|
| 105 | 'Programming Language :: Python :: 2 :: Only', |
---|
| 106 | 'Programming Language :: Python :: Implementation :: CPython', |
---|
[4945] | 107 | 'Framework :: Zope3', |
---|
| 108 | 'Topic :: Education', |
---|
| 109 | 'Topic :: Internet :: WWW/HTTP', |
---|
| 110 | ], |
---|
[5057] | 111 | author = "The WAeUP team.", |
---|
[15261] | 112 | author_email = "de@waeup.org", |
---|
[5057] | 113 | url = "http://www.waeup.org/", |
---|
| 114 | license = "GPL", |
---|
| 115 | package_dir = {'': 'src'}, |
---|
| 116 | packages= find_packages('src'), |
---|
[4919] | 117 | namespace_packages = ['waeup',], |
---|
[5057] | 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, |
---|
[5632] | 124 | docs = docs_require, |
---|
[7570] | 125 | beaker = beaker_require, |
---|
[11254] | 126 | diazo = diazo_require, |
---|
[4789] | 127 | ), |
---|
[3518] | 128 | entry_points=""" |
---|
| 129 | # Add entry points here |
---|
[11254] | 130 | #[hurry.resource.libraries] |
---|
| 131 | #waeup_kofa = waeup.kofa.browser.resources:waeup_kofa |
---|
[5495] | 132 | [console_scripts] |
---|
[7808] | 133 | kofa-debug = grokcore.startup:interactive_debug_prompt |
---|
| 134 | kofactl = grokcore.startup:zdaemon_controller |
---|
[8418] | 135 | analyze = waeup.kofa.maintenance:db_analyze |
---|
[10183] | 136 | fsdiff = waeup.kofa.maintenance:db_diff |
---|
[5495] | 137 | [paste.app_factory] |
---|
[9217] | 138 | main = waeup.kofa.startup:env_app_factory |
---|
| 139 | debug = waeup.kofa.startup:env_debug_app_factory |
---|
[5495] | 140 | |
---|
[3518] | 141 | """, |
---|
| 142 | ) |
---|