]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
install tox, not requirements.txt 23/head
authorAlfredo Deza <adeza@redhat.com>
Mon, 17 Nov 2014 20:02:07 +0000 (15:02 -0500)
committerAlfredo Deza <adeza@redhat.com>
Mon, 17 Nov 2014 21:08:26 +0000 (16:08 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
radosgw-agent-pull-requests/build/build

index 1a2b434b9dc7ac96ef0618ce3f443a65f19bb421..33b6b98bb5d54f7c734f17e3ab8f5d9099342cb5 100644 (file)
@@ -12,9 +12,9 @@ mkdir -p $PIP_SDIST_INDEX
 
 # Install the package by trying with the cache first, otherwise doing a download only, and then
 # trying to install from the cache again.
-if ! venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index -r requirements.txt; then
-    venv/bin/pip install --download-directory="$PIP_SDIST_INDEX" -r requirements.txt
-    venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index -r requirements.txt
+if ! venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index tox; then
+    venv/bin/pip install --download-directory="$PIP_SDIST_INDEX" tox
+    venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index tox
 fi