commit:     186c01953709bf397ce7e701fd4e7b2b305ff5f5
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 16:50:12 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 17:06:15 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=186c0195

Ignore setup.cfg and *.so

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

Reply via email to