From c4865980c5be5f7cac06503faef8e567edbd5a6c Mon Sep 17 00:00:00 2001
From: Christoph Groth <christoph.groth@cea.fr>
Date: Tue, 8 Dec 2015 10:47:38 +0100
Subject: [PATCH] setup.py: stop using deprecated function

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index d12e1773..012de36a 100755
--- a/setup.py
+++ b/setup.py
@@ -307,7 +307,7 @@ def extensions():
     config = configparser.ConfigParser()
     try:
         with open(CONFIG_FILE) as f:
-            config.readfp(f)
+            config.read_file(f)
     except IOError:
         config_file_present = False
     else:
-- 
GitLab