summaryrefslogtreecommitdiffstats
path: root/scripts/oe-buildenv-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-buildenv-internal')
-rwxr-xr-xscripts/oe-buildenv-internal7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 96bb0c3dc9..c17cf4da71 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -29,13 +29,6 @@ if [ -z "$OE_SKIP_SDK_CHECK" ] && [ -n "$OECORE_SDK_VERSION" ]; then
29 return 1 29 return 1
30fi 30fi
31 31
32py_v27_check=$(python2 -c 'import sys; print sys.version_info >= (2,7,3)')
33if [ "$py_v27_check" != "True" ]; then
34 echo >&2 "OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python v3."
35 echo >&2 "Please upgrade your python v2."
36fi
37unset py_v27_check
38
39# We potentially have code that doesn't parse correctly with older versions 32# We potentially have code that doesn't parse correctly with older versions
40# of Python, and rather than fixing that and being eternally vigilant for 33# of Python, and rather than fixing that and being eternally vigilant for
41# any other new feature use, just check the version here. 34# any other new feature use, just check the version here.