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