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