[pypy-commit] cffi release-0.8: A workaround by Alex Gaynor for a bug in distutils that shows up on OS/X
arigo
noreply at buildbot.pypy.org
Sat Jul 5 18:40:46 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch: release-0.8
Changeset: r1537:c63026a567f1
Date: 2014-07-05 18:40 +0200
http://bitbucket.org/cffi/cffi/changeset/c63026a567f1/
Log: A workaround by Alex Gaynor for a bug in distutils that shows up on
OS/X
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -43,6 +43,8 @@
def ask_supports_thread():
from distutils.core import Distribution
+ from distutils.sysconfig import get_config_vars
+ get_config_vars() # workaround for a bug of distutils, e.g. on OS/X
config = Distribution().get_command_obj('config')
ok = config.try_compile('__thread int some_threadlocal_variable_42;')
if ok:
More information about the pypy-commit
mailing list