Commit Graph

4 Commits

Author SHA1 Message Date
Seth R. Johnson e4dd555000
Use python3 shebang for all python scripts
The `python` command may not exist on a system with Python 3 installed.
See https://peps.python.org/pep-0394/ for a discussion of the commands
expected to be installed.

Since Python2 was officially sunsetted almost three years ago
(https://www.python.org/doc/sunset-python-2/), IWYU should prefer
compatibility with newer systems over older ones.

Python code in scripts is still Python3/Python2-compatible, but we will no
longer make an effort to preserve Python2 support over time.

Fixes #1096.
2022-12-16 21:03:39 +01:00
Kim Grasman d6439c2a9c [mappings] Modernize Qt mapping generator
* Print directly to stdout instead of requiring outfile name
* Parameterize indentation to jsonline
* Clean up help strings
* Describe high-level strategy in doc comment
2021-03-07 16:24:15 +01:00
Kim Grasman 8259c7d219 [mappings] Move Qt mapping generator to new structure
The Qt mapping generator was added before there were conventions.

Move it into the new right place, and rename it accordingly.
2021-03-07 16:24:15 +01:00
Kim Grasman 8808107f79 [mappings] Add mapping generator for Python C API 2021-03-07 15:43:09 +01:00