Do not use distribute in requirements gate venv

Remove the --distribute flag so that the virtualenv
is created with vanilla setuptools to avoid conflicts
between packages that try to update setuptools or
distribute.

Change-Id: I63456887027f707a6b42c86ea44e587df0f503de
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Reviewed-on: https://review.openstack.org/35905
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Doug Hellmann 2013-07-05 18:23:19 -04:00 committed by Jenkins
parent 64d2e15fb5
commit ab7e5a9b1a

View File

@ -7,7 +7,7 @@
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
/usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements /usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements
virtualenv --clear --distribute .venv virtualenv --clear .venv
PIP_ARGS="" PIP_ARGS=""
REQ_FILES="tools/pip-requires tools/test-requires requirements.txt test-requirements.txt" REQ_FILES="tools/pip-requires tools/test-requires requirements.txt test-requirements.txt"
for FILE in $REQ_FILES for FILE in $REQ_FILES