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