--- setup.py.orig 2015-12-18 16:51:35.000000000 +0300 +++ setup.py 2015-12-18 16:52:01.000000000 +0300 @@ -67,9 +67,6 @@ sys.stderr.write("The above error message can be safely ignored\n") def use_pkg_config(): - if sys.platform == 'darwin' and os.path.exists('/usr/local/bin/brew'): - use_homebrew_for_libffi() - _ask_pkg_config(include_dirs, '--cflags-only-I', '-I', sysroot=True) _ask_pkg_config(extra_compile_args, '--cflags-only-other') _ask_pkg_config(library_dirs, '--libs-only-L', '-L', sysroot=True)