1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
import sys
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
version = '1.0'
tests_require = ['nose', 'Jinja2>=2.2.1']
if not sys.platform.startswith('java'):
tests_require.extend(['Genshi', 'coverage>=2.85'])
setup(
name="Pylons",
version=version,
description='Pylons Web Framework',
long_description="""
Pylons
======
The Pylons web framework is aimed at making webapps and large programmatic
website development in Python easy. Several key points:
* A framework to make writing web applications in Python easy
* Utilizes a minimalist, component-based philosophy that makes it easy to
expand on
* Harness existing knowledge about Python
Knowing Python makes Pylons easy
---------------------------------
Pylons makes it easy to expand on your knowledge of Python to master Pylons for
web development. Using a MVC style dispath, Python knowledge is used at various
levels:
* The Controller is just a basic Python class, called for each
request. Customizing the response is as easy as overriding __call__ to make
your webapp work how you want.
* Mako templating compiles directly to Python byte-code for speed and utilizes
Python for template control rather than creating its own template syntax for
"for, while, etc"
Current Status
---------------
Pylons %s described on this page is stable.
There is also an unstable `develoment version
<https://www.knowledgetap.com/hg/pylons-dev/archive/tip.tar.gz#egg=Pylons-dev>`_ of Pylons.
Download and Installation
-------------------------
Pylons can be installed with `Easy Install
<http://peak.telecommunity.com/DevCenter/EasyInstall>`_ by typing::
> easy_install Pylons
Dependant packages are automatically installed from
the `Pylons download page <http://pylonshq.com/download/>`_ .
""" % version,
keywords='web wsgi lightweight framework sqlalchemy formencode mako templates',
license='BSD',
author='Ben Bangert, Philip Jenvey, James Gardner',
author_email='ben@groovie.org, pjenvey@underboss.org',
url='http://www.pylonshq.com/',
packages=find_packages(exclude=['ez_setup', 'tests', 'tests.*']),
zip_safe=False,
#include_package_data=True,
test_suite='nose.collector',
tests_require=tests_require,
install_requires=[
"Routes>=1.12", "WebHelpers>=0.6.4", "Beaker>=1.3dev",
"Paste>=1.7.2", "PasteDeploy>=1.3.3", "PasteScript>=1.7.3",
"FormEncode>=1.2.1", "simplejson>=2.0.8", "decorator>=2.3.2",
"nose>=0.10.4", "Mako>=0.2.4", "WebOb>=0.9.6.1", "WebError>=0.10.1",
"WebTest>=1.1", "Tempita>=0.2",
],
dependency_links=[
"http://www.pylonshq.com/download/1.0"
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Framework :: Pylons",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Software Development :: Libraries :: Python Modules",
],
extras_require = {
'genshi': ['Genshi>=0.4.4'],
'jinja2': ['Jinja2'],
},
entry_points="""
[paste.paster_command]
controller = pylons.commands:ControllerCommand
restcontroller = pylons.commands:RestControllerCommand
routes = pylons.commands:RoutesCommand
shell = pylons.commands:ShellCommand
[paste.paster_create_template]
pylons = pylons.util:PylonsTemplate
pylons_minimal = pylons.util:MinimalPylonsTemplate
[nose.plugins]
pylons = pylons.test:PylonsPlugin
""",
)
|