~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/contrib/slimmer/setup.py

  • Committer: Steve Alexander
  • Date: 2007-03-31 20:46:51 UTC
  • mto: (3847.2.91 onezero-ui-cleanup)
  • mto: This revision was merged to the branch mainline in revision 4046.
  • Revision ID: steve.alexander@canonical.com-20070331204651-8gpspx5ya2jqbvxz
add slimmer CSS compressor to contrib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from distutils.core import setup
 
2
 
 
3
# patch distutils if it can't cope with the "classifiers" or "download_url"
 
4
# keywords (prior to python 2.3.0).
 
5
from distutils.dist import DistributionMetadata
 
6
if not hasattr(DistributionMetadata, 'classifiers'):
 
7
    DistributionMetadata.classifiers = None
 
8
if not hasattr(DistributionMetadata, 'download_url'):
 
9
    DistributionMetadata.download_url = None
 
10
    
 
11
setup(
 
12
    name = 'slimmer',
 
13
    version = '0.1.19',
 
14
    description = 'HTML,XHTML,CSS,JavaScript optimizer',
 
15
    long_description = """\
 
16
slimmer.py
 
17
---------------------
 
18
 
 
19
Can slim (X)HTML, CSS and Javascript files to become smaller
 
20
 
 
21
Required: Python 2.1 or later
 
22
Recommended: Python 2.3 or later
 
23
""",
 
24
    author='Peter Bengtsson',
 
25
    author_email = 'peter@fry-it.com',
 
26
    url = 'http://www.fry-it.com',
 
27
    download_url = 'http://www.fry-it.com/Open-Source/slimmer',
 
28
    license = "Python",
 
29
    platforms = ['POSIX', 'Windows'],
 
30
    keywords = ['slimmer', 'optimizer', 'optimiser', 'whitespace'],
 
31
    classifiers = [
 
32
        "Development Status :: 5 - Production/Stable",
 
33
        "Environment :: Other Environment",
 
34
        "Environment :: Web Environment",
 
35
        "Intended Audience :: Developers",
 
36
        "License :: OSI Approved :: Python Software Foundation License",
 
37
        "Operating System :: OS Independent",
 
38
        "Programming Language :: Python",
 
39
        "Topic :: Communications",
 
40
        "Topic :: Internet :: WWW/HTTP",
 
41
        "Topic :: Other/Nonlisted Topic",
 
42
        "Topic :: Software Development :: Libraries :: Python Modules",
 
43
        ],
 
44
    py_modules = ['slimmer',]
 
45
    )