Skip to content

Commit

Permalink
Version 6.2.3. Python3 used by default (GUIToolkitsVariables 1.5.3), …
Browse files Browse the repository at this point in the history
…without explicit request.
  • Loading branch information
Charles PIGNEROL committed Nov 26, 2024
1 parent 3ac27b1 commit eb066b5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
5 changes: 2 additions & 3 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
"cacheVariables": {
"GUIToolkitsVariables_ROOT": "$env{INSTALL_DIR}/guitoolkitsvariables",
"TkUtil_ROOT": "$env{INSTALL_DIR}/tkutil",
"TkUtilScripting_ROOT": "$env{INSTALL_DIR}/tkutil",
"USE_PYTHON_3": "ON"
"TkUtilScripting_ROOT": "$env{INSTALL_DIR}/tkutil"
}
}
]
}


2 changes: 1 addition & 1 deletion cmake/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

set (PYTHON_UTIL_MAJOR_VERSION "6")
set (PYTHON_UTIL_MINOR_VERSION "2")
set (PYTHON_UTIL_RELEASE_VERSION "2")
set (PYTHON_UTIL_RELEASE_VERSION "3")
set (PYTHON_UTIL_VERSION ${PYTHON_UTIL_MAJOR_VERSION}.${PYTHON_UTIL_MINOR_VERSION}.${PYTHON_UTIL_RELEASE_VERSION})

8 changes: 4 additions & 4 deletions src/PythonUtil/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ set (INCLUDE_INSTALL_DIR include/) # PythonUtil_INCLUDE_DIR avec PythonUtilConf
set (LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}) # PythonUtil_LIB_DIR avec PythonUtilConfig.cmake.in
#set (RUNTIME_INSTALL_DIR bin/) # PythonUtil_RUNTIME_DIR avec PythonUtilConfig.cmake.in

if (NOT USE_PYTHON_3)
set (REQUIRED_PYTHON Python2)
else (NOT USE_PYTHON_3)
if (NOT USE_PYTHON_2)
set (REQUIRED_PYTHON Python3)
endif (NOT USE_PYTHON_3)
else (NOT USE_PYTHON_2)
set (REQUIRED_PYTHON Python2)
endif (NOT USE_PYTHON_2)

# Création du fichier PythonUtilConfig.cmake qui définira PythonUtil_INCLUDE_DIR, PythonUtil_LIB_DIR et PythonUtil_BIN_DIR :
configure_package_config_file (cmake/${CMAKE_PACKAGE_CONFIG_NAME}.cmake.in ${CMAKE_PACKAGE_CONFIG_FILE}
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.2.3 : 26/11/24
===============

Python 3 par d�faut, sans demande explicite.


Version 6.2.2 : 13/12/23
===============

Expand Down

0 comments on commit eb066b5

Please sign in to comment.