Add distribute to test-requires.

Currently glance (which is required for testing by keystone because
there is no python-glanceclient yet) requires distribute>=0.6.24,
but it can't be installed as a dependency of a dependency.  Requiring
it explicitly here should help.

Install test-requires first, otherwise distribute doesn't get properly set.

Install distribute manually until we can re-address venv creation.

Align webob version to the other projects due to version conflicts.

Change-Id: Iac0b6860c600fbf230cf4f602ce1b76c68fcb7cd
This commit is contained in:
James E. Blair 2012-04-17 12:12:30 -07:00 committed by Devin Carlen
parent a58db8503b
commit f7ccf23ea6
5 changed files with 8 additions and 5 deletions

View File

@ -5,5 +5,4 @@
<jake@ansolabs.com> <admin@jakedahn.com>
<launchpad@markgius.com> <mgius7096@gmail.com>
<yorik.sar@gmail.com> <yorik@ytaraday>
<jeblair@hp.com> <james.blair@rackspace.com>

View File

@ -21,7 +21,7 @@ Ivan Kolodyazhny <e0ne@e0ne.info>
J. Daniel Schmidt <jdsn@suse.de>
Jake Dahn <jake@ansolabs.com>
Jake Zukowski <jake@ponyloaf.com>
James E. Blair <james.blair@rackspace.com>
James E. Blair <jeblair@hp.com>
Jay Pipes <jaypipes@gmail.com>
Jeffrey Wilcox <jeffjapan@gmail.com>
Jesse Andrews <anotherjesse@gmail.com>

View File

@ -105,6 +105,9 @@ def create_virtualenv(venv=VENV):
if not run_command([WITH_VENV, 'easy_install', 'pip']).strip():
die("Failed to install pip.")
print 'done.'
print 'Installing distribute in virtualenv...'
pip_install('distribute>=0.6.24')
print 'done.'
def pip_install(*args):
@ -115,8 +118,8 @@ def pip_install(*args):
def install_dependencies(venv=VENV):
print "Installing dependencies..."
print "(This may take several minutes, don't panic)"
pip_install('-r', PIP_REQUIRES)
pip_install('-r', TEST_REQUIRES)
pip_install('-r', PIP_REQUIRES)
# Tell the virtual env how to "import dashboard"
py = 'python%d.%d' % (sys.version_info[0], sys.version_info[1])

View File

@ -13,7 +13,7 @@ pycrypto==2.3
routes
sqlalchemy
sqlalchemy-migrate
webob
webob==1.0.8
xattr
iso8601

View File

@ -6,6 +6,7 @@ mox
nose
pep8
pylint
distribute>=0.6.24
# Docs Requirements
sphinx