meson-python
meson-python copied to clipboard
Feature Request: Add `.gitignore` to `build-dir`
Hello,
This could be a misconfiguration on my part, but I am building a wheel file with
python3 -m build --wheel -Cbuild-dir=builddir
and unlike building with meson
directly, I do not see a .gitignore
( or .hgignore
) file in builddir
. Specifically I see this building with
- meson 1.5.0
- meson-python 1.16.0
- build 1.2.1
I'm interested in keeping a semi-permanent build directory around because build times on Windows are exceedingly large, and the .gitignore
file that meson usually puts in the build directory is a nice quality of life. For now I've added builddir
to the project's .gitignore
file but this doesn't scale very well since we use this on multiple platforms and multiple python versions.
I can reproduce this by building one of the listed examples on:
- mingw64 (unsupported python)
- Windows (official python)
- RHEL9