[4945] | 1 | import os |
---|
[3518] | 2 | from setuptools import setup, find_packages |
---|
| 3 | |
---|
[4955] | 4 | version = '0.2dev' |
---|
[3518] | 5 | |
---|
[5057] | 6 | install_requires =[ |
---|
| 7 | 'setuptools', |
---|
[6287] | 8 | 'gp.fileupload', |
---|
[5057] | 9 | 'grok', |
---|
[5495] | 10 | 'grokcore.startup', |
---|
[5057] | 11 | 'grokui.admin', |
---|
| 12 | 'hurry.query', |
---|
[5836] | 13 | 'hurry.jquery', |
---|
| 14 | 'hurry.jqueryui', |
---|
[5057] | 15 | 'hurry.workflow', |
---|
| 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', |
---|
[5057] | 25 | 'zope.app.authentication', # BBB: During switch to grok 1.1 |
---|
[5632] | 26 | 'zope.app.file', |
---|
[5067] | 27 | 'zope.app.testing', # XXX: test_permissions needs this |
---|
[5632] | 28 | 'zope.file', |
---|
[6287] | 29 | 'zope.interface >= 3.6.0', |
---|
[5067] | 30 | 'zope.testbrowser', # XXX: test_permissions needs this |
---|
[5328] | 31 | 'zope.i18n', |
---|
[5632] | 32 | 'zope.mimetype', |
---|
[6200] | 33 | 'zope.errorview', |
---|
[6287] | 34 | 'zope.schema >= 3.8.0', |
---|
[5057] | 35 | ], |
---|
| 36 | |
---|
| 37 | tests_require = [ |
---|
| 38 | 'z3c.testsetup', |
---|
| 39 | 'zope.app.testing', |
---|
| 40 | 'zope.testbrowser', |
---|
| 41 | 'zope.testing', |
---|
[5836] | 42 | 'unittest2', |
---|
[5057] | 43 | ] |
---|
| 44 | |
---|
[5632] | 45 | docs_require = [ |
---|
| 46 | 'Sphinx', |
---|
| 47 | 'collective.recipe.sphinxbuilder', |
---|
| 48 | 'docutils', |
---|
| 49 | 'roman', |
---|
[5661] | 50 | 'repoze.sphinx.autointerface', |
---|
[5632] | 51 | ] |
---|
| 52 | |
---|
[4945] | 53 | def read(*rnames): |
---|
| 54 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
| 55 | |
---|
| 56 | long_description = ( |
---|
| 57 | read('README.txt') |
---|
| 58 | + '\n\n' |
---|
| 59 | + read('src', 'waeup', 'sirp', 'README.txt') |
---|
| 60 | + '\n\n' |
---|
| 61 | + read('CHANGES.txt') |
---|
| 62 | + '\n\n' |
---|
| 63 | + 'Download\n' |
---|
| 64 | + '********\n' |
---|
| 65 | ) |
---|
| 66 | |
---|
[5057] | 67 | setup(name = 'waeup.sirp', |
---|
| 68 | version = version, |
---|
| 69 | description = "A student online information and registration portal", |
---|
| 70 | long_description = long_description, |
---|
[4945] | 71 | |
---|
[5057] | 72 | keywords = "portal waeup sirp student university registration grok zope", |
---|
[4945] | 73 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
[5057] | 74 | classifiers = [ |
---|
[4945] | 75 | 'Development Status :: 3 - Alpha', |
---|
| 76 | 'Environment :: Web Environment', |
---|
| 77 | 'Intended Audience :: Education', |
---|
| 78 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
| 79 | 'Programming Language :: Python', |
---|
| 80 | 'Operating System :: POSIX', |
---|
| 81 | 'Operating System :: POSIX :: Linux', |
---|
| 82 | 'Framework :: Zope3', |
---|
| 83 | 'Topic :: Education', |
---|
| 84 | 'Topic :: Internet :: WWW/HTTP', |
---|
| 85 | ], |
---|
[5057] | 86 | author = "The WAeUP team.", |
---|
| 87 | author_email = "", |
---|
| 88 | url = "http://www.waeup.org/", |
---|
| 89 | license = "GPL", |
---|
| 90 | package_dir = {'': 'src'}, |
---|
| 91 | packages= find_packages('src'), |
---|
[4919] | 92 | namespace_packages = ['waeup',], |
---|
[5057] | 93 | include_package_data = True, |
---|
| 94 | zip_safe = False, |
---|
| 95 | install_requires = install_requires, |
---|
| 96 | tests_require = tests_require, |
---|
| 97 | extras_require = dict( |
---|
| 98 | test = tests_require, |
---|
[5632] | 99 | docs = docs_require, |
---|
[4789] | 100 | ), |
---|
[3518] | 101 | entry_points=""" |
---|
| 102 | # Add entry points here |
---|
[5836] | 103 | [hurry.resource.libraries] |
---|
| 104 | waeup_sirp = waeup.sirp.browser.resources:waeup_sirp |
---|
[5495] | 105 | [console_scripts] |
---|
| 106 | sirp-debug = grokcore.startup:interactive_debug_prompt |
---|
| 107 | sirpctl = grokcore.startup:zdaemon_controller |
---|
| 108 | [paste.app_factory] |
---|
| 109 | main = grokcore.startup:application_factory |
---|
| 110 | debug = grokcore.startup:debug_application_factory |
---|
| 111 | |
---|
[3518] | 112 | """, |
---|
| 113 | ) |
---|