diff options
author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-08-31 10:23:10 +0200 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2021-09-01 09:36:00 +0000 |
commit | cfcabf7a12a2426410de69d882b882c11306cfe7 (patch) | |
tree | 7c18d43eb11f317ba88840fe71837c7d2dd3e66b /sources/pyside-tools/pyside_tool.py | |
parent | f40dfe83e811584062fa742c7ae2f251de62b723 (diff) |
The new version will be added in 6.2, and some changes
were pushed to 6.1 but they were not working.
Change-Id: I0ce85b1ebcfcba6bd0d683fa543bc8fdd7e4d080
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 897e5d4651abb3e1c7b131a0ec10e011b2b187ce)
Diffstat (limited to 'sources/pyside-tools/pyside_tool.py')
-rw-r--r-- | sources/pyside-tools/pyside_tool.py | 13 |
1 files changed, 0 insertions, 13 deletions
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() |