summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pbr/packaging.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py
index 3a6fe7d..bbc8d38 100644
--- a/pbr/packaging.py
+++ b/pbr/packaging.py
@@ -92,6 +92,8 @@ def _missing_requires(requires):
def _pip_install(links, requires, root=None):
+ if str(os.getenv('SKIP_PIP_INSTALL', '')).lower() in TRUE_VALUES:
+ return
root_cmd = ""
if root:
root_cmd = "--root=%s" % root