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