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