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