numpy: Avoid build user config files
authorJeffery To <jeffery.to@gmail.com>
Wed, 10 May 2023 15:49:46 +0000 (23:49 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 2 Nov 2023 10:20:41 +0000 (11:20 +0100)
commit9c4447a227b347fd1e22c6597f626ba5df1054da
tree8ddb79c9ca64ba63182a79e34d7e04c237a2bd39
parent400936a98c4733a4e4d9ddfefcdd856a57f95aa5
numpy: Avoid build user config files

This stops numpy from reading .numpy-site.cfg in the build user's home
directory. The code actually tries to find both .numpy-site.cfg and
site.cfg in the user's home directory; this patch prevents both.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3cee44d88837b5679a96f0155205ec15883d5aef)
lang/python/numpy/Makefile
lang/python/numpy/patches/002-avoid-build-user-config-files.patch [new file with mode: 0644]