Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] Ignore setup.cfg and *.so
Date: Wed, 15 Feb 2017 17:07:36
Message-Id: CAJ0EP426wM6uCDXt9Yz9tRX=9i2JirngLBM+x0D9BES=ow3GBA@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] [PATCH] Ignore setup.cfg and *.so by Brian Dolbec
1 On Tue, Feb 14, 2017 at 1:51 PM, Brian Dolbec <dolsen@g.o> wrote:
2 > On Tue, 14 Feb 2017 12:02:18 -0500
3 > Mike Gilbert <floppym@g.o> wrote:
4 >
5 >> This allows one to compile the extension modules in-place without
6 >> having the build artifacts show up in git status.
7 >>
8 >> For example:
9 >> printf "[build_ext]\nportage-ext-modules = true\n" > setup.cfg
10 >> python setup.py build_ext --inplace
11 >> ---
12 >> .gitignore | 2 ++
13 >> 1 file changed, 2 insertions(+)
14 >>
15 >> diff --git a/.gitignore b/.gitignore
16 >> index 930252f66..9c13ef473 100644
17 >> --- a/.gitignore
18 >> +++ b/.gitignore
19 >> @@ -1,7 +1,9 @@
20 >> *.py[co]
21 >> __pycache__/
22 >> *.class
23 >> +*.so
24 >> /build
25 >> /tags
26 >> +setup.cfg
27 >>
28 >> repoman/build
29 >
30 >
31 > looks good, push please :)
32
33 Pushed.