[4945] | 1 | import os |
---|
[3518] | 2 | from setuptools import setup, find_packages |
---|
| 3 | |
---|
[11110] | 4 | version = '1.0dev' |
---|
[3518] | 5 | |
---|
[5057] | 6 | install_requires =[ |
---|
| 7 | 'setuptools', |
---|
| 8 | 'grok', |
---|
[6885] | 9 | 'grokui.admin', |
---|
[5495] | 10 | 'grokcore.startup', |
---|
[8896] | 11 | 'waeup.kofa', |
---|
[8824] | 12 | 'kofacustom.nigeria', |
---|
[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 | |
---|
[11100] | 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 | |
---|
[5632] | 37 | docs_require = [ |
---|
| 38 | 'Sphinx', |
---|
| 39 | 'collective.recipe.sphinxbuilder', |
---|
| 40 | 'docutils', |
---|
| 41 | 'roman', |
---|
[5661] | 42 | 'repoze.sphinx.autointerface', |
---|
[5632] | 43 | ] |
---|
| 44 | |
---|
[4945] | 45 | def read(*rnames): |
---|
| 46 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
| 47 | |
---|
| 48 | long_description = ( |
---|
| 49 | read('README.txt') |
---|
| 50 | + '\n\n' |
---|
[8446] | 51 | + read('src', 'waeup', 'aaue', 'README.txt') |
---|
[4945] | 52 | + '\n\n' |
---|
| 53 | + read('CHANGES.txt') |
---|
| 54 | + '\n\n' |
---|
| 55 | + 'Download\n' |
---|
| 56 | + '********\n' |
---|
| 57 | ) |
---|
| 58 | |
---|
[8446] | 59 | setup(name = 'waeup.aaue', |
---|
[5057] | 60 | version = version, |
---|
[7825] | 61 | description = "A customized waeup.kofa", |
---|
[5057] | 62 | long_description = long_description, |
---|
[4945] | 63 | |
---|
[7825] | 64 | keywords = "portal waeup kofa student university registration grok zope", |
---|
[4945] | 65 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
[5057] | 66 | classifiers = [ |
---|
[4945] | 67 | 'Development Status :: 3 - Alpha', |
---|
| 68 | 'Environment :: Web Environment', |
---|
| 69 | 'Intended Audience :: Education', |
---|
| 70 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
| 71 | 'Programming Language :: Python', |
---|
| 72 | 'Operating System :: POSIX', |
---|
| 73 | 'Operating System :: POSIX :: Linux', |
---|
| 74 | 'Framework :: Zope3', |
---|
| 75 | 'Topic :: Education', |
---|
| 76 | 'Topic :: Internet :: WWW/HTTP', |
---|
| 77 | ], |
---|
[5057] | 78 | author = "The WAeUP team.", |
---|
| 79 | author_email = "", |
---|
| 80 | url = "http://www.waeup.org/", |
---|
| 81 | license = "GPL", |
---|
| 82 | package_dir = {'': 'src'}, |
---|
| 83 | packages= find_packages('src'), |
---|
[4919] | 84 | namespace_packages = ['waeup',], |
---|
[5057] | 85 | include_package_data = True, |
---|
| 86 | zip_safe = False, |
---|
| 87 | install_requires = install_requires, |
---|
| 88 | tests_require = tests_require, |
---|
| 89 | extras_require = dict( |
---|
| 90 | test = tests_require, |
---|
[5632] | 91 | docs = docs_require, |
---|
[7695] | 92 | beaker = beaker_require, |
---|
[11100] | 93 | diazo = diazo_require, |
---|
[4789] | 94 | ), |
---|
[3518] | 95 | entry_points=""" |
---|
[5495] | 96 | [console_scripts] |
---|
[7825] | 97 | kofa-debug = grokcore.startup:interactive_debug_prompt |
---|
| 98 | kofactl = grokcore.startup:zdaemon_controller |
---|
[5495] | 99 | [paste.app_factory] |
---|
[9223] | 100 | main = waeup.kofa.startup:env_app_factory |
---|
| 101 | debug = waeup.kofa.startup:env_debug_app_factory |
---|
[3518] | 102 | """, |
---|
| 103 | ) |
---|