aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-03-20 19:24:38 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-05-17 10:31:53 +0000
commit8e4558d261991d539ddcd929f3d8bd9a37713c62 (patch)
treed76c360bee3446cb25780abfe0635aabda03a912 /build_scripts
parentb1a0d94585c85bba53ff80dbd131da258fc76a18 (diff)
Turn generate_pyi into a general pyi_generator tool, finish
After the new tool has been created, we can now produce a Shiboken.pyi file automatically and make the PySide pyi files more complete. The Shiboken internal objects are now published, and we no longer need a fake Shiboken.Object . We can continue here a bit, maybe in another commit. Task-number: PYSIDE-1415 Change-Id: I9ba9336dbffa200ac519968519ee9381dd5cad84 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit c4b077486f2f85ec15fa9f75b6a8e34ce976f180) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'build_scripts')
-rw-r--r--build_scripts/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_scripts/config.py b/build_scripts/config.py
index bcbc0b6e4..d3b9a38b1 100644
--- a/build_scripts/config.py
+++ b/build_scripts/config.py
@@ -203,7 +203,8 @@ class Config(object):
setup_kwargs['install_requires'] = [f"{self.shiboken_module_st_name}=={package_version}"]
setup_kwargs['entry_points'] = {
'console_scripts': [
- f'{SHIBOKEN} = {package_name}.scripts.shiboken_tool:main'
+ f'{SHIBOKEN} = {package_name}.scripts.shiboken_tool:main',
+ f'{SHIBOKEN}-genpyi = {package_name}.scripts.shiboken_tool:genpyi',
]
}
@@ -217,6 +218,7 @@ class Config(object):
f'{PYSIDE}-rcc = {package_name}.scripts.pyside_tool:rcc',
f'{PYSIDE}-designer= {package_name}.scripts.pyside_tool:designer',
f'{PYSIDE}-lupdate = {package_name}.scripts.pyside_tool:main',
+ f'{PYSIDE}-genpyi = {package_name}.scripts.pyside_tool:genpyi',
]
}
self.setup_kwargs = setup_kwargs