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