diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-03-20 19:24:38 +0100 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-05-17 10:22:19 +0200 |
| commit | c4b077486f2f85ec15fa9f75b6a8e34ce976f180 (patch) | |
| tree | 962e6f4a44738c6a2ae6bcde8de0f5d5cddfd96f /build_scripts/config.py | |
| parent | e9dbf86de7741a59c776c29a5821cad06a177804 (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.
Pick-to: 6.1
Task-number: PYSIDE-1415
Change-Id: I9ba9336dbffa200ac519968519ee9381dd5cad84
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/config.py')
| -rw-r--r-- | build_scripts/config.py | 4 |
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 |
