Remove PY_2TO3

let's say welcome to 2025
This commit is contained in:
Matthias Kuhn 2024-12-31 13:35:02 +01:00 committed by Nyall Dawson
parent 25858cc7fe
commit 340861dc00
2 changed files with 0 additions and 18 deletions

View File

@ -44,16 +44,6 @@ macro(PY_COMPILE TARGET_NAME RESOURCE_PATHS)
endif()
endmacro(PY_COMPILE)
# Macro to auto migrate resources
macro(PY_2TO3 TARGET_NAME RESOURCE_PATHS)
add_custom_command(TARGET ${TARGET_NAME}
POST_BUILD
COMMAND "${Python_EXECUTABLE}" "${CMAKE_SOURCE_DIR}/scripts/2to3" --no-diffs -w ${RESOURCE_PATHS}
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
COMMENT "Porting ${RESOURCE_PATHS} to Python 3 and Qt5"
)
endmacro(PY_2TO3)
add_subdirectory(plugins)
if (WITH_GUI)
add_subdirectory(qsci_apis)

View File

@ -1,8 +0,0 @@
#!/usr/bin/env python3
import os
import sys
from lib2to3.main import main
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__))))
sys.exit(main("qgis_fixes"))