aboutsummaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/pyside-tools/CMakeLists.txt2
-rw-r--r--sources/pyside-tools/pyside_tool.py13
2 files changed, 1 insertions, 14 deletions
diff --git a/sources/pyside-tools/CMakeLists.txt b/sources/pyside-tools/CMakeLists.txt
index 559c9faa1..26c126da1 100644
--- a/sources/pyside-tools/CMakeLists.txt
+++ b/sources/pyside-tools/CMakeLists.txt
@@ -54,7 +54,7 @@ if(NOT NO_QT_TOOLS STREQUAL "yes")
endif()
-# pyside6-rcc, pyside6-uic, pyside6-designer, shiboken and pyside6-lupdate entrypoints
+# pyside6-rcc, pyside6-uic, pyside6-designer, and shiboken entrypoints
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pyside_tool.py
DESTINATION bin
PERMISSIONS
diff --git a/sources/pyside-tools/pyside_tool.py b/sources/pyside-tools/pyside_tool.py
index 6a47d3632..13b9ab24a 100644
--- a/sources/pyside-tools/pyside_tool.py
+++ b/sources/pyside-tools/pyside_tool.py
@@ -48,15 +48,6 @@ from subprocess import Popen, PIPE
import PySide6 as ref_mod
-def main():
- # This will take care of "pyside6-lupdate" listed as an entrypoint
- # in setup.py are copied to 'scripts/..'
- cmd = os.path.join("..", os.path.basename(sys.argv[0]))
- command = [os.path.join(os.path.dirname(os.path.realpath(__file__)), cmd)]
- command.extend(sys.argv[1:])
- sys.exit(subprocess.call(command))
-
-
def qt_tool_wrapper(qt_tool, args):
# Taking care of pyside6-uic, pyside6-rcc, and pyside6-designer
# listed as an entrypoint in setup.py
@@ -134,7 +125,3 @@ def genpyi():
cmd = support / "generate_pyi.py"
command = [sys.executable, os.fspath(cmd)] + sys.argv[1:]
sys.exit(subprocess.call(command))
-
-
-if __name__ == "__main__":
- main()