Skip to content

Commit 0c18385

Browse files
jeblairemonty
authored andcommitted
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
1 parent e36dbd2 commit 0c18385

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.mailmap

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
66
77
<[email protected]> <yorik@ytaraday>
8-
9-
8+

AUTHORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Ivan Kolodyazhny <[email protected]>
2121
J. Daniel Schmidt <[email protected]>
2222
Jake Dahn <[email protected]>
2323
Jake Zukowski <[email protected]>
24-
James E. Blair <james.blair@rackspace.com>
24+
James E. Blair <jeblair@hp.com>
2525
Jay Pipes <[email protected]>
2626
Jeffrey Wilcox <[email protected]>
2727
Jesse Andrews <[email protected]>

tools/install_venv.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def create_virtualenv(venv=VENV):
105105
if not run_command([WITH_VENV, 'easy_install', 'pip']).strip():
106106
die("Failed to install pip.")
107107
print 'done.'
108+
print 'Installing distribute in virtualenv...'
109+
pip_install('distribute>=0.6.24')
110+
print 'done.'
108111

109112

110113
def pip_install(*args):
@@ -115,8 +118,8 @@ def pip_install(*args):
115118
def install_dependencies(venv=VENV):
116119
print "Installing dependencies..."
117120
print "(This may take several minutes, don't panic)"
118-
pip_install('-r', PIP_REQUIRES)
119121
pip_install('-r', TEST_REQUIRES)
122+
pip_install('-r', PIP_REQUIRES)
120123

121124
# Tell the virtual env how to "import dashboard"
122125
py = 'python%d.%d' % (sys.version_info[0], sys.version_info[1])

tools/pip-requires

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pycrypto==2.3
1313
routes
1414
sqlalchemy
1515
sqlalchemy-migrate
16-
webob
16+
webob==1.0.8
1717
xattr
1818
iso8601
1919

tools/test-requires

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ mox
66
nose
77
pep8
88
pylint
9+
distribute>=0.6.24
910

1011
# Docs Requirements
1112
sphinx

0 commit comments

Comments
 (0)