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