Skip to content

Commit

Permalink
Merge pull request #14 from LIHPC-Computational-Geometry/nopython2
Browse files Browse the repository at this point in the history
Version 6.4.7. Removed support for python 2.
  • Loading branch information
CharlesPignerol authored Dec 6, 2024
2 parents a0b46fb + 525b7cf commit a10518b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
12 changes: 6 additions & 6 deletions cmake/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# version.cmake : version du projet
#

# Pour la bibliothèque QtPython :
set (QT_PYTHON_MAJOR_VERSION "6")
set (QT_PYTHON_MINOR_VERSION "4")
set (QT_PYTHON_RELEASE_VERSION "6")
set (QT_PYTHON_VERSION ${QT_PYTHON_MAJOR_VERSION}.${QT_PYTHON_MINOR_VERSION}.${QT_PYTHON_RELEASE_VERSION})
# Pour la bibliothèque QtPython (obsolète, Python 2) :
#set (QT_PYTHON_MAJOR_VERSION "6")
#set (QT_PYTHON_MINOR_VERSION "4")
#set (QT_PYTHON_RELEASE_VERSION "7")
#set (QT_PYTHON_VERSION ${QT_PYTHON_MAJOR_VERSION}.${QT_PYTHON_MINOR_VERSION}.${QT_PYTHON_RELEASE_VERSION})

# Pour la bibliothèque QtPython3 :
set (QT_PYTHON_3_MAJOR_VERSION "6")
set (QT_PYTHON_3_MINOR_VERSION "4")
set (QT_PYTHON_3_RELEASE_VERSION "6")
set (QT_PYTHON_3_RELEASE_VERSION "7")
set (QT_PYTHON_3_VERSION ${QT_PYTHON_3_MAJOR_VERSION}.${QT_PYTHON_3_MINOR_VERSION}.${QT_PYTHON_3_RELEASE_VERSION})

17 changes: 6 additions & 11 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
if (USE_PYTHON_2)
add_subdirectory (QtPython)
if (BUILD_PY_CONSOLE)
add_subdirectory (QtPyConsole) # Bloque sur la partie moc en de rares circonstances
endif (BUILD_PY_CONSOLE)
else ( )
add_subdirectory (QtPython3)
if (BUILD_PY_CONSOLE)
add_subdirectory (QtPyConsole3) # Bloque sur la partie moc en de rares circonstances
endif (BUILD_PY_CONSOLE)
endif (USE_PYTHON_3)
#add_subdirectory (QtPython) # Obsolète, python 2
#add_subdirectory (QtPyConsole) # Obsolète, python 2. Bloque sur la partie moc en de rares circonstances
add_subdirectory (QtPython3)
if (BUILD_PY_CONSOLE)
add_subdirectory (QtPyConsole3) # Bloque sur la partie moc en de rares circonstances
endif (BUILD_PY_CONSOLE)

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

Arrêt support python 2.


Version 6.4.6 : 29/11/24
===============

Expand Down

0 comments on commit a10518b

Please sign in to comment.