diff options
Diffstat (limited to 'scripts/oe-buildenv-internal')
| -rwxr-xr-x | scripts/oe-buildenv-internal | 7 |
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 |
| 30 | fi | 30 | fi |
| 31 | 31 | ||
| 32 | py_v27_check=$(python2 -c 'import sys; print sys.version_info >= (2,7,3)') | ||
| 33 | if [ "$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." | ||
| 36 | fi | ||
| 37 | unset 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. |
