[5286] | 1 | import os |
---|
| 2 | from setuptools import setup, find_packages |
---|
| 3 | |
---|
| 4 | version = '0.1dev' |
---|
| 5 | |
---|
| 6 | install_requires =[ |
---|
| 7 | 'setuptools', |
---|
[5364] | 8 | 'zope.browserpage', |
---|
| 9 | 'zope.formlib', |
---|
| 10 | 'zope.i18n', |
---|
| 11 | 'zope.publisher', |
---|
| 12 | 'zope.schema', |
---|
[5286] | 13 | ], |
---|
| 14 | |
---|
| 15 | tests_require = [ |
---|
| 16 | 'zope.testbrowser', |
---|
| 17 | 'zope.testing', |
---|
| 18 | ] |
---|
| 19 | |
---|
| 20 | def read(*rnames): |
---|
| 21 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
| 22 | |
---|
| 23 | long_description = ( |
---|
| 24 | read('README.txt') |
---|
| 25 | + '\n\n' |
---|
| 26 | + read('src', 'waeup', 'widgets', 'core', 'README.txt') |
---|
| 27 | + '\n\n' |
---|
| 28 | + read('CHANGES.txt') |
---|
| 29 | + '\n\n' |
---|
| 30 | + 'Download\n' |
---|
| 31 | + '********\n' |
---|
| 32 | ) |
---|
| 33 | |
---|
| 34 | setup(name = 'waeup.widgets.core', |
---|
| 35 | version = version, |
---|
[5364] | 36 | description = "Zope formlib widgets for the waupe.sirp portal.", |
---|
[5286] | 37 | long_description = long_description, |
---|
| 38 | |
---|
[5364] | 39 | keywords = "portal waeup sirp widget dict zope", |
---|
[5286] | 40 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
| 41 | classifiers = [ |
---|
| 42 | 'Development Status :: 3 - Alpha', |
---|
| 43 | 'Environment :: Web Environment', |
---|
| 44 | 'Intended Audience :: Education', |
---|
| 45 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
| 46 | 'Programming Language :: Python', |
---|
| 47 | 'Operating System :: POSIX', |
---|
| 48 | 'Operating System :: POSIX :: Linux', |
---|
| 49 | 'Framework :: Zope3', |
---|
| 50 | 'Topic :: Education', |
---|
| 51 | 'Topic :: Internet :: WWW/HTTP', |
---|
| 52 | ], |
---|
| 53 | author = "The WAeUP team.", |
---|
| 54 | author_email = "", |
---|
| 55 | url = "http://www.waeup.org/", |
---|
| 56 | license = "GPL", |
---|
| 57 | package_dir = {'': 'src'}, |
---|
| 58 | packages= find_packages('src'), |
---|
| 59 | namespace_packages = ['waeup', 'waeup.widgets'], |
---|
| 60 | include_package_data = True, |
---|
| 61 | zip_safe = False, |
---|
| 62 | install_requires = install_requires, |
---|
| 63 | tests_require = tests_require, |
---|
| 64 | extras_require = dict( |
---|
| 65 | test = tests_require, |
---|
| 66 | docs = ['Sphinx', |
---|
| 67 | 'z3c.recipe.sphinxdoc', |
---|
| 68 | ], |
---|
| 69 | ), |
---|
| 70 | entry_points=""" |
---|
| 71 | # Add entry points here |
---|
| 72 | """, |
---|
| 73 | ) |
---|