Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] Ignore setup.cfg and *.so
Date: Tue, 14 Feb 2017 17:02:25
Message-Id: 20170214170218.1793-1-floppym@gentoo.org
1 This allows one to compile the extension modules in-place without having
2 the build artifacts show up in git status.
3
4 For example:
5 printf "[build_ext]\nportage-ext-modules = true\n" > setup.cfg
6 python setup.py build_ext --inplace
7 ---
8 .gitignore | 2 ++
9 1 file changed, 2 insertions(+)
10
11 diff --git a/.gitignore b/.gitignore
12 index 930252f66..9c13ef473 100644
13 --- a/.gitignore
14 +++ b/.gitignore
15 @@ -1,7 +1,9 @@
16 *.py[co]
17 __pycache__/
18 *.class
19 +*.so
20 /build
21 /tags
22 +setup.cfg
23
24 repoman/build
25 --
26 2.11.1

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] Ignore setup.cfg and *.so Brian Dolbec <dolsen@g.o>