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