Merge pull request #19193 from alalek:samples_python_3.9

pull/19217/head^2
Alexander Alekhin 4 years ago
commit 0ffa78b66a
  1. 1
      modules/python/package/setup.py
  2. 2
      samples/_winpack_run_python_sample.cmd

@ -45,6 +45,7 @@ def main():
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: C++', 'Programming Language :: C++',
'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering',

@ -23,6 +23,8 @@ IF %ERRORLEVEL% EQU 0 (
GOTO :PYTHON_FOUND GOTO :PYTHON_FOUND
) )
CALL :QUERY_PYTHON 3.9
IF %ERRORLEVEL% EQU 0 GOTO :PYTHON_FOUND
CALL :QUERY_PYTHON 3.8 CALL :QUERY_PYTHON 3.8
IF %ERRORLEVEL% EQU 0 GOTO :PYTHON_FOUND IF %ERRORLEVEL% EQU 0 GOTO :PYTHON_FOUND
CALL :QUERY_PYTHON 3.7 CALL :QUERY_PYTHON 3.7

Loading…
Cancel
Save