Skip to content

Commit

Permalink
Version 6.2.4. 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 8d2dfc8 commit 009107c
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,6 +4,6 @@

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

6 changes: 0 additions & 6 deletions src/PythonUtil/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ 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_2)
set (REQUIRED_PYTHON Python3)
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}
INSTALL_DESTINATION ${CMAKE_CMAKE_DIR}
Expand Down
2 changes: 1 addition & 1 deletion src/PythonUtil/cmake/PythonUtilConfig.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 REQUIRED 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.2.4 : 06/12/24
===============

Arr�t support Python 2.


Version 6.2.3 : 26/11/24
===============

Expand Down

0 comments on commit 009107c

Please sign in to comment.