[4945] | 1 | import os |
---|
[3518] | 2 | from setuptools import setup, find_packages |
---|
| 3 | |
---|
[11296] | 4 | version = '1.0.1dev' |
---|
[3518] | 5 | |
---|
[5057] | 6 | install_requires =[ |
---|
| 7 | 'setuptools', |
---|
| 8 | 'grok', |
---|
[6885] | 9 | 'grokui.admin', |
---|
[5495] | 10 | 'grokcore.startup', |
---|
[11291] | 11 | 'waeup.kofa >= 1.0', |
---|
| 12 | 'kofacustom.nigeria >= 1.0', |
---|
[5057] | 13 | ], |
---|
| 14 | |
---|
[7695] | 15 | # Having beaker installed additionally is a feature very recommended |
---|
| 16 | # for production use. The default buildout includes beaker for tests, |
---|
| 17 | # start scripts, and other parts that can benefit from it. The windows |
---|
| 18 | # buildout does not include it due to compiling problems with the |
---|
| 19 | # beaker package. |
---|
| 20 | beaker_require = [ |
---|
| 21 | 'dolmen.beaker', |
---|
| 22 | ] |
---|
| 23 | |
---|
[11291] | 24 | diazo_require = [ |
---|
| 25 | 'diazo', |
---|
| 26 | 'webob', |
---|
| 27 | ] |
---|
| 28 | |
---|
[5057] | 29 | tests_require = [ |
---|
| 30 | 'z3c.testsetup', |
---|
| 31 | 'zope.app.testing', |
---|
| 32 | 'zope.testbrowser', |
---|
| 33 | 'zope.testing', |
---|
[5836] | 34 | 'unittest2', |
---|
[5057] | 35 | ] |
---|
| 36 | |
---|
[4945] | 37 | def read(*rnames): |
---|
| 38 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
| 39 | |
---|
| 40 | long_description = ( |
---|
| 41 | read('README.txt') |
---|
| 42 | + '\n\n' |
---|
| 43 | + read('CHANGES.txt') |
---|
| 44 | + '\n\n' |
---|
| 45 | + 'Download\n' |
---|
| 46 | + '********\n' |
---|
| 47 | ) |
---|
| 48 | |
---|
[8446] | 49 | setup(name = 'waeup.aaue', |
---|
[5057] | 50 | version = version, |
---|
[7825] | 51 | description = "A customized waeup.kofa", |
---|
[5057] | 52 | long_description = long_description, |
---|
[4945] | 53 | |
---|
[7825] | 54 | keywords = "portal waeup kofa student university registration grok zope", |
---|
[4945] | 55 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
[5057] | 56 | classifiers = [ |
---|
[4945] | 57 | 'Development Status :: 3 - Alpha', |
---|
| 58 | 'Environment :: Web Environment', |
---|
| 59 | 'Intended Audience :: Education', |
---|
| 60 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
| 61 | 'Programming Language :: Python', |
---|
| 62 | 'Operating System :: POSIX', |
---|
| 63 | 'Operating System :: POSIX :: Linux', |
---|
| 64 | 'Framework :: Zope3', |
---|
| 65 | 'Topic :: Education', |
---|
| 66 | 'Topic :: Internet :: WWW/HTTP', |
---|
| 67 | ], |
---|
[5057] | 68 | author = "The WAeUP team.", |
---|
| 69 | author_email = "", |
---|
| 70 | url = "http://www.waeup.org/", |
---|
| 71 | license = "GPL", |
---|
| 72 | package_dir = {'': 'src'}, |
---|
| 73 | packages= find_packages('src'), |
---|
[4919] | 74 | namespace_packages = ['waeup',], |
---|
[5057] | 75 | include_package_data = True, |
---|
| 76 | zip_safe = False, |
---|
| 77 | install_requires = install_requires, |
---|
| 78 | tests_require = tests_require, |
---|
| 79 | extras_require = dict( |
---|
| 80 | test = tests_require, |
---|
[7695] | 81 | beaker = beaker_require, |
---|
[11291] | 82 | diazo = diazo_require, |
---|
[4789] | 83 | ), |
---|
[3518] | 84 | entry_points=""" |
---|
[5495] | 85 | [console_scripts] |
---|
[7825] | 86 | kofa-debug = grokcore.startup:interactive_debug_prompt |
---|
| 87 | kofactl = grokcore.startup:zdaemon_controller |
---|
[5495] | 88 | [paste.app_factory] |
---|
[9223] | 89 | main = waeup.kofa.startup:env_app_factory |
---|
| 90 | debug = waeup.kofa.startup:env_debug_app_factory |
---|
[3518] | 91 | """, |
---|
| 92 | ) |
---|