mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Remove PY_2TO3
let's say welcome to 2025
This commit is contained in:
parent
25858cc7fe
commit
340861dc00
@ -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)
|
||||
|
@ -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"))
|
Loading…
x
Reference in New Issue
Block a user