diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-04-18 18:58:18 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-11-12 11:57:01 +0100 |
| commit | 310d18f3708d891c9e99f8a9a713f5a0ce45d341 (patch) | |
| tree | ac047ad6f2f072b6e332eda888d7b26456319de1 /sources/pyside6/PySide6/support/generate_pyi.py | |
| parent | 225bf1aaa5a17f8f3c2526f03a10223ea14de239 (diff) | |
PyPySide: check in the rest of PyPy changes
The PyPy branch has been apart from the main branch for a
long time. Meanwhile, almost everything has settled and can
be merged into the main branch.
This has the advantage of a single branch for both
configurations.
This project is still not ready. It will be called ready when
the Mandelbrot example can be run without any changes.
To achieve that, the current threading problem must be solved.
The WIP branch is kept. It now holds only the pypy-blog.txt file.
Task-number: PYSIDE-535
Change-Id: I317b0e921cc6810e1b76c69991a0f8e592135c65
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/support/generate_pyi.py')
| -rw-r--r-- | sources/pyside6/PySide6/support/generate_pyi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/support/generate_pyi.py b/sources/pyside6/PySide6/support/generate_pyi.py index ecc04019b..211df8590 100644 --- a/sources/pyside6/PySide6/support/generate_pyi.py +++ b/sources/pyside6/PySide6/support/generate_pyi.py @@ -98,7 +98,8 @@ def generate_all_pyi(outpath, options): generate_pyi(import_name, outpath, options) -if __name__ == "__main__": +# PYSIDE-535: Disable pyi generation until things work. +if __name__ == "__main__" and not hasattr(sys, "pypy_version_info"): parser = argparse.ArgumentParser( description="This script generates the .pyi file for all PySide modules.") parser.add_argument("modules", nargs="+", |
