Metadata-Version: 2.4
Name: py-msbuild-extractor
Version: 0.0.6
Summary: Pip launcher (Windows and Linux) bundling microsoft/msbuild-extractor-sample (generates compile_commands.json from MSBuild/.vcxproj solutions).
Author: py-msbuild-extractor contributors
License: MIT
Project-URL: Homepage, https://github.com/renefritze/py-msbuild-extractor
Project-URL: Upstream project, https://github.com/microsoft/msbuild-extractor-sample
Keywords: msbuild,compile_commands,vcxproj,clangd,compilation-database,windows,linux
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# py-msbuild-extractor

A pip launcher (Windows and Linux) that bundles a self-contained build of
[`microsoft/msbuild-extractor-sample`](https://github.com/microsoft/msbuild-extractor-sample)
and exposes it as the `py-msbuild-extractor` command. It generates
`compile_commands.json` from Visual C++ MSBuild projects (`.vcxproj`, `.sln`,
`.slnx`).

```console
pip install py-msbuild-extractor
py-msbuild-extractor --help
```

This wheel only redistributes the launcher. On **Windows**, the machine
running it must have **Visual Studio Build Tools with the C++ (Desktop
development with C++) workload** installed — the tool shells out to
`vswhere.exe`, resolves `VCTargetsPath`/`VCToolsInstallDir`, and invokes
`cl.exe`. On **Linux**, it needs a system-wide .NET SDK and an MSVC toolchain
set up via `tools/setup-linux-toolchain.sh` (see the project repository for
details).

See the [project repository](https://github.com/renefritze/py-msbuild-extractor)
for full documentation, the pinned upstream commit, and how it is built.
