From 000a6ef8025f5d7e6719ffcc5e79c73a31ccbbc8 Mon Sep 17 00:00:00 2001 From: Charles PIGNEROL <> Date: Fri, 6 Dec 2024 07:47:45 +0100 Subject: [PATCH] Version 6.10.3. Removed support for python 2. --- cmake/version.cmake | 2 +- src/TkUtilScripting/CMakeLists.txt | 6 ------ src/TkUtilScripting/cmake/TkUtilScriptingConfig.cmake.in | 2 +- versions.txt | 6 ++++++ 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cmake/version.cmake b/cmake/version.cmake index 8999bba..a2072c2 100644 --- a/cmake/version.cmake +++ b/cmake/version.cmake @@ -4,7 +4,7 @@ set (TK_UTIL_MAJOR_VERSION "6") set (TK_UTIL_MINOR_VERSION "10") -set (TK_UTIL_RELEASE_VERSION "2") +set (TK_UTIL_RELEASE_VERSION "3") set (TK_UTIL_VERSION ${TK_UTIL_MAJOR_VERSION}.${TK_UTIL_MINOR_VERSION}.${TK_UTIL_RELEASE_VERSION}) set (TK_UTIL_SCRIPTING_MAJOR_VERSION ${TK_UTIL_MAJOR_VERSION}) diff --git a/src/TkUtilScripting/CMakeLists.txt b/src/TkUtilScripting/CMakeLists.txt index f8da659..111b479 100644 --- a/src/TkUtilScripting/CMakeLists.txt +++ b/src/TkUtilScripting/CMakeLists.txt @@ -102,12 +102,6 @@ set (INCLUDE_INSTALL_DIR include/) # TkUtilScripting_INCLUDE_DIR avec TkUtilSc set (LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}) # TkUtilScripting_LIB_DIR avec TkUtilScriptingConfig.cmake.in set (RUNTIME_INSTALL_DIR ${PYTHON_BINDING_DIR}/) # TkUtilScripting_RUNTIME_DIR avec TkUtilScriptingConfig.cmake.in -if (NOT USE_PYTHON_3) - set (REQUIRED_PYTHON Python2) -else (NOT USE_PYTHON_3) - set (REQUIRED_PYTHON Python3) -endif (NOT USE_PYTHON_3) - # Création du fichier TkUtilScriptingConfig.cmake qui définira TkUtilScripting_INCLUDE_DIR, TkUtilScripting_LIB_DIR et TkUtilScripting_RUNTIME_DIR : configure_package_config_file (cmake/${CMAKE_PACKAGE_CONFIG_NAME}.cmake.in ${CMAKE_PACKAGE_CONFIG_FILE} INSTALL_DESTINATION ${CMAKE_CMAKE_DIR} diff --git a/src/TkUtilScripting/cmake/TkUtilScriptingConfig.cmake.in b/src/TkUtilScripting/cmake/TkUtilScriptingConfig.cmake.in index ea6a7cb..0ba1cd8 100644 --- a/src/TkUtilScripting/cmake/TkUtilScriptingConfig.cmake.in +++ b/src/TkUtilScripting/cmake/TkUtilScriptingConfig.cmake.in @@ -1,6 +1,6 @@ include(CMakeFindDependencyMacro) find_dependency (TkUtil) -find_dependency (@REQUIRED_PYTHON@ REQUIRED COMPONENTS Development) +find_dependency (Python3 COMPONENTS Development) @PACKAGE_INIT@ diff --git a/versions.txt b/versions.txt index b091a1c..3c70913 100644 --- a/versions.txt +++ b/versions.txt @@ -1,3 +1,9 @@ +Version 6.10.3 : 06/12/24 +================= + +Arrêt support python 2. + + Version 6.10.2 : 26/11/24 =================