~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to turbozpt-setup.py

  • Committer: Robey Pointer
  • Date: 2007-01-14 23:46:10 UTC
  • Revision ID: robey@lag.net-20070114234610-z3cn5j8eky0vqsg3
add a decorator to strip the whitespace from the generated html in the big
pages.  (kid theoretically can do this on its own, but it's not hooked up
from turbogears, and even if it was, it doesn't seem to work on html.)
removing whitespace appears to trim a good 20-30% from the generated pages,
so may help a lot for slow links.  in combination with the trimmed-down
javascript names, some of the worst offenders (revisions with gigantic
diffs) are now nearly half the size they were a few days ago.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from setuptools import setup, find_packages
2
 
from turbogears.finddata import find_package_data
3
 
 
4
 
setup(
5
 
    name="TurboZpt",
6
 
    version="0.1.4",
7
 
    description="TurboGears plugin to support use of Zope Page Templates",
8
 
    author="Bas van Oostveen",
9
 
    author_email="v.oostveen@gmail.com",
10
 
    url="http://ido.nl.eu.org/turbozpt/",
11
 
    download_url="http://ido.nl.eu.org/turbozpt/TurboZpt-0.1.2.tar.gz",
12
 
    license="MIT",
13
 
#    install_requires = ["TurboGears >= 0.9a0dev", "ZopePageTemplates"],
14
 
    install_requires = ["TurboGears >= 0.9a0dev"],
15
 
    zip_safe=False,
16
 
    packages=find_packages(),
17
 
    classifiers = [
18
 
        'Development Status :: 3 - Alpha',
19
 
        #'Environment :: TurboGears',
20
 
        'Operating System :: OS Independent',
21
 
        'Programming Language :: Python',
22
 
        'License :: OSI Approved :: MIT License',
23
 
        'Topic :: Software Development :: Libraries :: Python Modules'
24
 
    ],
25
 
    entry_points="""
26
 
    [python.templating.engines]
27
 
    zpt = turbozpt.zptsupport:TurboZpt
28
 
    """,
29
 
    test_suite = 'nose.collector',
30
 
    )
31