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