Skip to content

Commit

Permalink
Pin PyYAML for Python 2.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Mar 25, 2012
1 parent 505f3f2 commit 05f5dee
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions setup.py
Expand Up @@ -15,14 +15,18 @@
__version__ = '0.7'

import os
import sys

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()

requires = ['PyYAML']
if sys.version_info >= (2, 5):
requires = ['PyYAML']
else:
requires = ['PyYAML<3.10dev']

setup(name='repoze.configuration',
version=__version__,
Expand All @@ -47,6 +51,6 @@
entry_points = """\
[repoze.configuration.directive]
include = repoze.configuration.directives:include
"""
)
""",
)

0 comments on commit 05f5dee

Please sign in to comment.