Skip to content

Commit

Permalink
Version 6.10.3. Removed support for python 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles PIGNEROL committed Dec 6, 2024
1 parent dc9b281 commit 000a6ef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmake/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
6 changes: 0 additions & 6 deletions src/TkUtilScripting/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion src/TkUtilScripting/cmake/TkUtilScriptingConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include(CMakeFindDependencyMacro)
find_dependency (TkUtil)
find_dependency (@REQUIRED_PYTHON@ REQUIRED COMPONENTS Development)
find_dependency (Python3 COMPONENTS Development)

@PACKAGE_INIT@

Expand Down
6 changes: 6 additions & 0 deletions versions.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 6.10.3 : 06/12/24
=================

Arrêt support python 2.


Version 6.10.2 : 26/11/24
=================

Expand Down

0 comments on commit 000a6ef

Please sign in to comment.