cpython/Tools/c-analyzer/distutils
Eric Snow ca066bdbed
gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505)
distutils was removed in November. However, the c-analyzer relies on it. To solve that here, we vendor the parts the tool needs so it can be run against 3.12+. (Also see gh-92584.)

Note that we may end up removing this code later in favor of a solution in common with the peg_generator tool (which also relies on distutils).  At the least, the copy here makes sure the c-analyzer tool works on 3.12+ in the meantime.
2023-03-09 09:50:33 -07:00
..
README gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
__init__.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
_msvccompiler.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
bcppcompiler.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
ccompiler.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
cygwinccompiler.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
debug.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
dep_util.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
errors.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
log.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
msvc9compiler.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
msvccompiler.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
spawn.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
unixccompiler.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00
util.py gh-81057: Vendor a Subset of distutils for the c-analyzer Tool (gh-102505) 2023-03-09 09:50:33 -07:00

README

This is a partial copy of distutils as it was removed in 0faa0ba240e.
It only includes the parts needed by the C parser.