Added condition requirement to simplejson

simplejson is a part of python 2.6.

Change-Id: I3a1d776918c8707f21532fe3b043a039b72d6704
Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
Chuck Short
2012-04-30 08:50:02 -04:00
parent ae58edcba7
commit 93c1755acd
3 changed files with 5 additions and 1 deletions

View File

@@ -4,3 +4,4 @@ Monty Taylor <mordred@inaugust.com>
Dean Troyer <dtroyer@gmail.com>
Gabriel Hurley <gabriel@strikeawe.com>
James E. Blair <jeblair@hp.com>
Chuck Short <chuck.short@canonical.com>

View File

@@ -1,4 +1,5 @@
import os
import sys
import setuptools
@@ -11,6 +12,9 @@ requires = parse_requirements()
dependency_links = parse_dependency_links()
write_git_changelog()
if sys.version_info < (2, 6):
requires.append('simplejson')
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()

View File

@@ -1,6 +1,5 @@
argparse
httplib2
prettytable
simplejson
-e git://github.com/openstack/python-keystoneclient.git#egg=python-keystoneclient