__revision__ = '$Id: setup.py,v 1.3 2007/10/04 18:17:31 chrism Exp $'

from ez_setup import use_setuptools
use_setuptools()

import os
import sys
import string

version, extra = string.split(sys.version, ' ', 1)
maj, minor = string.split(version, '.', 1)

if not maj[0] >= '2' and minor[0] >= '3':
    msg = ("supervisor requires Python 2.3 or better, you are attempting to "
           "install it using version %s.  Please install with a "
           "supported version" % version)

from setuptools import setup, find_packages
here = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))

DESC = """\
supervisor_cache is an RPC extension for the supervisor2 package that
provides the ability to cache limited amounts of data in the
supervisor instance as key/value pairs."""

CLASSIFIERS = [
    'Development Status :: 5 - Production/Stable',
    'Environment :: No Input/Output (Daemon)',
    'Intended Audience :: System Administrators',
    'License :: OSI Approved :: BSD License',
    'Natural Language :: English',
    'Operating System :: POSIX',
    'Topic :: System :: Boot',
    'Topic :: System :: Systems Administration',
    ]

version_txt = os.path.join(here, 'src/supervisor_cache/version.txt')
supervisor_cache_version = open(version_txt).read().strip()

dist = setup(
    name = 'supervisor_cache',
    version = supervisor_cache_version,
    license = 'License :: OSI Approved :: BSD License',
    url = 'http://maintainable.com',
    description = "supervisor_cache RPC extension for supervisor2",
    long_description= DESC,
    classifiers = CLASSIFIERS,
    author = "Maintainable Software",
    author_email = "support@maintainable.com",
    maintainer = "Mike Naberezny",
    maintainer_email = "mike@maintainable.com",
    package_dir = {'':'src'},
    packages = find_packages(os.path.join(here, 'src')),
    install_requires = ['supervisor>=3.0a3'],
    include_package_data = True,
    zip_safe = False,
    namespace_packages = ['supervisor_cache'],
    test_suite = 'supervisor_cache.tests'
    )

@@ -1448,16 +1448,42 @@
 able.com
+/software/supervisor_cache
 ',%0A    d
@@ -1623,28 +1623,21 @@
 = %22M
-aintainable Software
+ike Naberezny
 %22,%0A 
@@ -1655,23 +1655,20 @@
 mail = %22
-support
+mike
 @maintai

Update author and URL.