[5538] | 1 | import os |
---|
| 2 | from setuptools import setup, find_packages |
---|
| 3 | |
---|
| 4 | version = '0.1dev' |
---|
| 5 | |
---|
| 6 | install_requires =[ |
---|
| 7 | 'setuptools', |
---|
| 8 | ], |
---|
| 9 | |
---|
| 10 | tests_require = [ |
---|
| 11 | 'zope.testing', |
---|
| 12 | ] |
---|
| 13 | |
---|
| 14 | def read(*rnames): |
---|
| 15 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
| 16 | |
---|
| 17 | long_description = ( |
---|
| 18 | read('README.txt') |
---|
| 19 | + '\n\n' |
---|
| 20 | + read('CHANGES.txt') |
---|
| 21 | + '\n\n' |
---|
| 22 | + 'Download\n' |
---|
| 23 | + '********\n' |
---|
| 24 | ) |
---|
| 25 | |
---|
| 26 | setup(name = 'grokworkshop', |
---|
| 27 | version = version, |
---|
| 28 | description = "A sample package from the Grok workshop", |
---|
| 29 | long_description = long_description, |
---|
| 30 | keywords = "portal waeup sirp student grok zope", |
---|
| 31 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
| 32 | classifiers = [ |
---|
| 33 | 'Development Status :: 3 - Alpha', |
---|
| 34 | 'Environment :: Web Environment', |
---|
| 35 | 'Intended Audience :: Education', |
---|
| 36 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
| 37 | 'Programming Language :: Python', |
---|
| 38 | 'Operating System :: POSIX', |
---|
| 39 | 'Operating System :: POSIX :: Linux', |
---|
| 40 | 'Framework :: Zope3', |
---|
| 41 | 'Topic :: Education', |
---|
| 42 | 'Topic :: Internet :: WWW/HTTP', |
---|
| 43 | ], |
---|
| 44 | author = "The WAeUP team.", |
---|
| 45 | author_email = "contact at waeup dot org", |
---|
| 46 | url = "http://www.waeup.org/", |
---|
| 47 | license = "GPL", |
---|
| 48 | package_dir = {'': 'src'}, |
---|
| 49 | packages= find_packages('src'), |
---|
| 50 | # namespace_packages = ['waeup',], |
---|
| 51 | include_package_data = True, |
---|
| 52 | zip_safe = False, |
---|
| 53 | install_requires = install_requires, |
---|
| 54 | tests_require = tests_require, |
---|
| 55 | extras_require = dict( |
---|
| 56 | test = tests_require, |
---|
| 57 | ), |
---|
| 58 | entry_points=""" |
---|
| 59 | # Add entry points here |
---|
| 60 | [console_scripts] |
---|
| 61 | do_something = grokworkshop.samplemodule:do_something |
---|
[5552] | 62 | merge_csv = grokworkshop.mergecsv:merge_csv_files |
---|
[5538] | 63 | """, |
---|
| 64 | ) |
---|
| 65 | |
---|