keyring for python 2.4
<p>I wrote a package that has dependency in keyring.</p>

<p>Everything is installed fine with Python 2.7 until I test Python 2.4</p>

<p>Here is my <code>setup.py</code></p>

<pre><code>from setuptools import setup, find_packages

setup(
    name="blah",
    version='0.9dev',
    description="blah",
    package_dir = {'': 'src'},
    packages=find_packages('src'),
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'setuptools',
        'keyring',
        'argparse',
        'Cheetah'
    ],
    entry_points = """
    [console_scripts]
    A = A:main
    """,
)
</code></pre>

<p>I keep getting syntax error.<br>
<strong>UPDATE</strong>: here is what i see when i try to install the package</p>

<pre><code>Getting distribution for 'keyring'.
warning: no previously-included files found matching '.hg/last-message.txt'
  File "build/bdist.linux-x86_64/egg/keyring/tests/test_backend.py", line 65
    yield
         ^
SyntaxError: invalid syntax
  File "build/bdist.linux-x86_64/egg/keyring/tests/test_core.py", line 127
    with open(self.legacy_location, 'w') as f:
            ^
SyntaxError: invalid syntax
  File "build/bdist.linux-x86_64/egg/keyring/util/escape.py", line 21
    return c if c in LEGAL_CHARS else ESCAPE_FMT % ord(c)
              ^
SyntaxError: invalid syntax
zip_safe flag not set; analyzing archive contents...
keyring.core: module references __path__
keyring.tests.test_cli: module references __file__
  File "/home/bpm/Downloads/qc_processor/eggs/tmp4sN15a/keyring-0.8.1-py2.4.egg/keyring/tests/test_backend.py", line 65
    yield
         ^
SyntaxError: invalid syntax
  File "/home/bpm/Downloads/qc_processor/eggs/tmp4sN15a/keyring-0.8.1-py2.4.egg/keyring/tests/test_core.py", line 127
    with open(self.legacy_location, 'w') as f:
            ^
SyntaxError: invalid syntax
  File "/home/bpm/Downloads/qc_processor/eggs/tmp4sN15a/keyring-0.8.1-py2.4.egg/keyring/util/escape.py", line 21
    return c if c in LEGAL_CHARS else ESCAPE_FMT % ord(c)
</code></pre>
