Skip to content

Commit 6301195

Browse files
authored
Merge 20ecf1f into 1392aa3
2 parents 1392aa3 + 20ecf1f commit 6301195

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

scons.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ where py 1>nul 2>&1
66
if "%ERRORLEVEL%" == "0" (
77
rem Python launcher is present in the PATH
88
rem Call python 3.7 for 32 bits
9-
py -3.7-32 "%~dp0\scons.py" %*
9+
py -3.8-32 "%~dp0\scons.py" %*
1010
) else (
1111
rem Python registers itself with the .py extension, so call scons.py.
1212
"%~dp0\scons.py" %*

sconstruct

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# A part of NonVisual Desktop Access (NVDA)
2-
# Copyright (C) 2010-2020 NV Access Limited, James Teh, Michael Curran, Peter Vágner, Joseph Lee, Reef Turner, Babbage B.V., Leonard de Ruijter, Łukasz Golonka, Accessolutions, Julien Cochuyt # noqa: E501
2+
# Copyright (C) 2010-2021 NV Access Limited, James Teh, Michael Curran, Peter Vágner, Joseph Lee, Reef Turner, Babbage B.V., Leonard de Ruijter, Łukasz Golonka, Accessolutions, Julien Cochuyt # noqa: E501
33
# This file may be used under the terms of the GNU General Public License, version 2 or later.
44
# For more details see: https://www.gnu.org/licenses/gpl-2.0.html
55

@@ -9,7 +9,7 @@ import platform
99

1010
# Variables for storing required version of Python, and the version which is used to run this script.
1111
requiredPythonMajor ="3"
12-
requiredPythonMinor = "7"
12+
requiredPythonMinor = "8"
1313
requiredPythonArchitecture = "32bit"
1414
installedPythonMajor = str(sys.version_info.major)
1515
installedPythonMinor = str(sys.version_info.minor)
@@ -34,10 +34,6 @@ if (
3434
requiredPythonArchitecture
3535
)
3636
)
37-
if sys.version_info.micro == 6:
38-
# #10696: Building with Python 3.7.6 fails. Innform user and exit.
39-
Py376FailMsg = "Building with Python 3.7.6 is not possible.\nPlease use more recent version of Python 3."
40-
raise RuntimeError(Py376FailMsg)
4137
sourceEnvPath = os.path.abspath(os.path.join(Dir('.').srcnode().path, "source"))
4238
sys.path.append(sourceEnvPath)
4339
import sourceEnv

0 commit comments

Comments
 (0)