[4945] | 1 | import os |
---|
[3518] | 2 | from setuptools import setup, find_packages |
---|
| 3 | |
---|
[11948] | 4 | version = '0.2dev' |
---|
[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', |
---|
[6028] | 20 | #'hurry.yui', |
---|
[5057] | 21 | 'hurry.zoperesource', |
---|
| 22 | 'zc.sourcefactory', |
---|
| 23 | 'megrok.layout', |
---|
[6194] | 24 | 'reportlab', |
---|
[10108] | 25 | 'Pillow', |
---|
[11798] | 26 | 'psutil', |
---|
[10027] | 27 | 'unicodecsv', |
---|
[5057] | 28 | 'zope.app.authentication', # BBB: During switch to grok 1.1 |
---|
[5632] | 29 | 'zope.app.file', |
---|
[5067] | 30 | 'zope.app.testing', # XXX: test_permissions needs this |
---|
[7666] | 31 | 'zope.app.undo', |
---|
[5632] | 32 | 'zope.file', |
---|
[6287] | 33 | 'zope.interface >= 3.6.0', |
---|
[5067] | 34 | 'zope.testbrowser', # XXX: test_permissions needs this |
---|
[5328] | 35 | 'zope.i18n', |
---|
[5632] | 36 | 'zope.mimetype', |
---|
[6200] | 37 | 'zope.errorview', |
---|
[6287] | 38 | 'zope.schema >= 3.8.0', |
---|
[7470] | 39 | 'zope.sendmail', |
---|
[8492] | 40 | 'ulif.loghandlers', |
---|
[9217] | 41 | 'zc.async[z3]', |
---|
[11254] | 42 | 'z3c.evalexception', |
---|
[12060] | 43 | 'paypalrestsdk', |
---|
[5057] | 44 | ], |
---|
| 45 | |
---|
[11254] | 46 | diazo_require = [ |
---|
| 47 | 'diazo', |
---|
| 48 | 'webob', |
---|
| 49 | ] |
---|
| 50 | |
---|
[7570] | 51 | # Having beaker installed additionally is a feature very recommended |
---|
| 52 | # for production use. The default buildout includes beaker for tests, |
---|
| 53 | # start scripts, and other parts that can benefit from it. The windows |
---|
| 54 | # buildout does not include it due to compiling problems with the |
---|
| 55 | # beaker package. |
---|
| 56 | beaker_require = [ |
---|
| 57 | 'dolmen.beaker', |
---|
| 58 | ] |
---|
| 59 | |
---|
[5057] | 60 | tests_require = [ |
---|
| 61 | 'z3c.testsetup', |
---|
| 62 | 'zope.app.testing', |
---|
| 63 | 'zope.testbrowser', |
---|
| 64 | 'zope.testing', |
---|
[5836] | 65 | 'unittest2', |
---|
[5057] | 66 | ] |
---|
| 67 | |
---|
[5632] | 68 | docs_require = [ |
---|
| 69 | 'Sphinx', |
---|
| 70 | 'collective.recipe.sphinxbuilder', |
---|
| 71 | 'docutils', |
---|
| 72 | 'roman', |
---|
[5661] | 73 | 'repoze.sphinx.autointerface', |
---|
[5632] | 74 | ] |
---|
| 75 | |
---|
[4945] | 76 | def read(*rnames): |
---|
| 77 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
| 78 | |
---|
| 79 | long_description = ( |
---|
| 80 | read('README.txt') |
---|
| 81 | + '\n\n' |
---|
| 82 | + read('CHANGES.txt') |
---|
| 83 | + '\n\n' |
---|
| 84 | + 'Download\n' |
---|
| 85 | + '********\n' |
---|
| 86 | ) |
---|
| 87 | |
---|
[11949] | 88 | setup(name = 'waeup.ikoba', |
---|
[5057] | 89 | version = version, |
---|
[11952] | 90 | description = "An online application and registration portal", |
---|
[5057] | 91 | long_description = long_description, |
---|
[4945] | 92 | |
---|
[11954] | 93 | keywords = "portal waeup ikoba company application registration grok zope", |
---|
[4945] | 94 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
[5057] | 95 | classifiers = [ |
---|
[9999] | 96 | 'Development Status :: 4 - Beta', |
---|
[4945] | 97 | 'Environment :: Web Environment', |
---|
| 98 | 'Intended Audience :: Education', |
---|
| 99 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
| 100 | 'Programming Language :: Python', |
---|
| 101 | 'Operating System :: POSIX', |
---|
| 102 | 'Operating System :: POSIX :: Linux', |
---|
| 103 | 'Framework :: Zope3', |
---|
| 104 | 'Topic :: Education', |
---|
| 105 | 'Topic :: Internet :: WWW/HTTP', |
---|
| 106 | ], |
---|
[5057] | 107 | author = "The WAeUP team.", |
---|
| 108 | author_email = "", |
---|
| 109 | url = "http://www.waeup.org/", |
---|
| 110 | license = "GPL", |
---|
| 111 | package_dir = {'': 'src'}, |
---|
| 112 | packages= find_packages('src'), |
---|
[4919] | 113 | namespace_packages = ['waeup',], |
---|
[5057] | 114 | include_package_data = True, |
---|
| 115 | zip_safe = False, |
---|
| 116 | install_requires = install_requires, |
---|
| 117 | tests_require = tests_require, |
---|
| 118 | extras_require = dict( |
---|
| 119 | test = tests_require, |
---|
[5632] | 120 | docs = docs_require, |
---|
[7570] | 121 | beaker = beaker_require, |
---|
[11254] | 122 | diazo = diazo_require, |
---|
[4789] | 123 | ), |
---|
[3518] | 124 | entry_points=""" |
---|
| 125 | # Add entry points here |
---|
[11254] | 126 | #[hurry.resource.libraries] |
---|
[11949] | 127 | #waeup_ikoba = waeup.ikoba.browser.resources:waeup_ikoba |
---|
[5495] | 128 | [console_scripts] |
---|
[11949] | 129 | ikoba-debug = grokcore.startup:interactive_debug_prompt |
---|
| 130 | ikobactl = grokcore.startup:zdaemon_controller |
---|
| 131 | analyze = waeup.ikoba.maintenance:db_analyze |
---|
| 132 | fsdiff = waeup.ikoba.maintenance:db_diff |
---|
[5495] | 133 | [paste.app_factory] |
---|
[11949] | 134 | main = waeup.ikoba.startup:env_app_factory |
---|
| 135 | debug = waeup.ikoba.startup:env_debug_app_factory |
---|
[5495] | 136 | |
---|
[3518] | 137 | """, |
---|
| 138 | ) |
---|