Skip to content

Commit

Permalink
Remove PY_2TO3
Browse files Browse the repository at this point in the history
let's say welcome to 2025
  • Loading branch information
m-kuhn authored and nyalldawson committed Dec 31, 2024
1 parent 25858cc commit 340861d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
10 changes: 0 additions & 10 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 0 additions & 8 deletions scripts/2to3

This file was deleted.

0 comments on commit 340861d

Please sign in to comment.