| 1 |
from ez_setup import use_setuptools |
|---|
| 2 |
use_setuptools() |
|---|
| 3 |
from setuptools import setup, find_packages |
|---|
| 4 |
from finddata import find_package_data |
|---|
| 5 |
from pkg_resources import DistributionNotFound |
|---|
| 6 |
|
|---|
| 7 |
commands = dict() |
|---|
| 8 |
try: |
|---|
| 9 |
from docgen import GenSite |
|---|
| 10 |
commands["docs"] = GenSite |
|---|
| 11 |
except DistributionNotFound: |
|---|
| 12 |
pass |
|---|
| 13 |
|
|---|
| 14 |
setup( |
|---|
| 15 |
cmdclass = commands, |
|---|
| 16 |
name="TurboGears", |
|---|
| 17 |
version="0.8a6", |
|---|
| 18 |
author="Kevin Dangoor", |
|---|
| 19 |
author_email="dangoor+turbogears@gmail.com", |
|---|
| 20 |
license="MIT", |
|---|
| 21 |
description="front-to-back rapid web development", |
|---|
| 22 |
long_description=""" |
|---|
| 23 |
TurboGears brings together four major pieces to create an |
|---|
| 24 |
easy to install, easy to use web megaframework. It covers |
|---|
| 25 |
everything from front end (MochiKit JavaScript for the browser, |
|---|
| 26 |
Kid for templates in Python) to the controllers (CherryPy) to |
|---|
| 27 |
the back end (SQLObject). |
|---|
| 28 |
|
|---|
| 29 |
The TurboGears project is focused on providing documentation |
|---|
| 30 |
and integration with these tools without losing touch |
|---|
| 31 |
with the communities that already exist around those tools. |
|---|
| 32 |
|
|---|
| 33 |
TurboGears is easy to use for a wide range of web applications. |
|---|
| 34 |
|
|---|
| 35 |
The latest development version is available in <a href="http://www.turbogears.org/svn/turbogears/trunk#egg=turbogears-dev">the TurboGears subversion repository</a>.""", |
|---|
| 36 |
url="http://www.turbogears.org", |
|---|
| 37 |
zip_safe=False, |
|---|
| 38 |
install_requires = ["kid >= 0.8", |
|---|
| 39 |
"CherryPy >= 2.1.0, != 2.1.0-rc2, != 2.1.0-rc1, != 2.1.0-beta", |
|---|
| 40 |
"SQLObject >= 0.7", "json-py >= 3.4", |
|---|
| 41 |
"elementtree >= 1.2.6", |
|---|
| 42 |
"cElementTree >= 1.0.2", "FormEncode >= 0.4", |
|---|
| 43 |
"setuptools >= 0.6a8", "TestGears >= 0.2"], |
|---|
| 44 |
packages=find_packages(), |
|---|
| 45 |
package_data = find_package_data(where='turbogears', |
|---|
| 46 |
package='turbogears', |
|---|
| 47 |
exclude_directories=('.*', 'CVS', '_darcs', './build', |
|---|
| 48 |
'./dist', 'EGG-INFO')), |
|---|
| 49 |
entry_points = { |
|---|
| 50 |
'console_scripts' : [ |
|---|
| 51 |
'tg-admin = turbogears.command:main' |
|---|
| 52 |
] |
|---|
| 53 |
}, |
|---|
| 54 |
classifiers = [ |
|---|
| 55 |
'Development Status :: 3 - Alpha', |
|---|
| 56 |
'Environment :: Console', |
|---|
| 57 |
'Intended Audience :: Developers', |
|---|
| 58 |
'License :: OSI Approved :: MIT License', |
|---|
| 59 |
'Operating System :: OS Independent', |
|---|
| 60 |
'Programming Language :: Python', |
|---|
| 61 |
'Topic :: Software Development :: Libraries :: Python Modules'], |
|---|
| 62 |
) |
|---|
| 63 |
|
|---|