[pypy-commit] cffi default: remove the hiding of pkg-config errors in setup.py, should fix issue #21

RonnyPfannschmidt noreply at buildbot.pypy.org
Fri Aug 24 19:24:39 CEST 2012


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: 
Changeset: r893:138bd8080167
Date: 2012-08-24 19:23 +0200
http://bitbucket.org/cffi/cffi/changeset/138bd8080167/

Log:	remove the hiding of pkg-config errors in setup.py, should fix issue
	#21

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@
 def _ask_pkg_config(resultlist, option, result_prefix=''):
     try:
         p = subprocess.Popen(['pkg-config', option, 'libffi'],
-                             stdout=subprocess.PIPE, stderr=open('/dev/null', 'w'))
+                             stdout=subprocess.PIPE)
     except OSError as e:
         if e.errno != errno.ENOENT:
             raise


More information about the pypy-commit mailing list