This allows one to compile the extension modules in-place without having
the build artifacts show up in git status.

For example:
printf "[build_ext]\nportage-ext-modules = true\n" > setup.cfg
python setup.py build_ext --inplace
---
 .gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 930252f66..9c13ef473 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,9 @@
 *.py[co]
 __pycache__/
 *.class
+*.so
 /build
 /tags
+setup.cfg
 
 repoman/build
-- 
2.11.1


Reply via email to