From 1e72ebb9320579f2b4f5e9c47916f1183cfe28d5 Mon Sep 17 00:00:00 2001 From: Angelo Dell'Aera Date: Thu, 16 Jan 2020 12:35:10 +0100 Subject: [PATCH] Minor change --- settings.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.py b/settings.py index f39c9b10..d1be7208 100644 --- a/settings.py +++ b/settings.py @@ -14,7 +14,7 @@ STPYV8_VERSION = V8_GIT_TAG_STABLE -V8_DEPS_LINUX = os.environ.get('V8_DEPS_LINUX', True) +V8_DEPS_LINUX = os.environ.get('V8_DEPS_LINUX', '1') in ('1', ) os.environ['PATH'] = "{}:{}".format(os.environ['PATH'], DEPOT_HOME) diff --git a/setup.py b/setup.py index 027173fe..fd0f8ba0 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ def checkout_v8(): # On Linux, install additional dependencies, per # https://v8.dev/docs/build step 4 - if sys.platform in ("linux", "linux2", ) and V8_DEPS_LINUX: + if sys.platform in ("linux", "linux2", ) and v8_deps_linux: exec_cmd('./v8/build/install-build-deps.sh', cwd = os.path.dirname(V8_HOME), msg = "Installing additional linux dependencies")