| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | import sys |
|---|
| 5 | from setuptools import setup, find_packages |
|---|
| 6 | from turbogears.finddata import find_package_data |
|---|
| 7 | |
|---|
| 8 | if sys.version_info < (2, 3): |
|---|
| 9 | raise SystemExit("Python 2.3 or later is required") |
|---|
| 10 | |
|---|
| 11 | import os |
|---|
| 12 | execfile(os.path.join("turbomail", "release.py")) |
|---|
| 13 | |
|---|
| 14 | setup( |
|---|
| 15 | name="TurboMail", |
|---|
| 16 | version=version, |
|---|
| 17 | |
|---|
| 18 | description=description, |
|---|
| 19 | long_description=long_description, |
|---|
| 20 | author=author, |
|---|
| 21 | author_email=email, |
|---|
| 22 | url=url, |
|---|
| 23 | download_url=download_url, |
|---|
| 24 | license=license, |
|---|
| 25 | |
|---|
| 26 | install_requires = ["TurboGears >= 0.9a9dev-r2003"], |
|---|
| 27 | zip_safe=True, |
|---|
| 28 | packages=find_packages(), |
|---|
| 29 | package_data = find_package_data(where='turbomail', package='turbomail'), |
|---|
| 30 | keywords = ["turbogears.extension"], |
|---|
| 31 | classifiers = [ |
|---|
| 32 | 'Development Status :: 5 - Production/Stable', |
|---|
| 33 | 'Framework :: TurboGears', |
|---|
| 34 | 'Intended Audience :: Developers', |
|---|
| 35 | 'License :: OSI Approved :: MIT License', |
|---|
| 36 | 'Operating System :: OS Independent', |
|---|
| 37 | 'Programming Language :: Python', |
|---|
| 38 | 'Topic :: Communications :: Email', |
|---|
| 39 | 'Topic :: Software Development :: Libraries :: Python Modules', |
|---|
| 40 | ], |
|---|
| 41 | test_suite = 'nose.collector', |
|---|
| 42 | entry_points = { |
|---|
| 43 | |
|---|
| 44 | 'turbogears.extensions': ["turbomail = turbomail"] |
|---|
| 45 | } |
|---|
| 46 | ) |
|---|
| 47 | |
|---|