Give up on using brew on Travis

This commit is contained in:
Kovid Goyal
2017-01-10 13:06:48 +05:30
parent 6738724d4f
commit 45dcef4304
2 changed files with 8 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ def get_python_flags(cflags):
libs += sysconfig.get_config_var('SYSLIBS').split()
fw = sysconfig.get_config_var('PYTHONFRAMEWORK')
if fw:
for var in 'data include scripts'.split():
for var in 'data include stdlib'.split():
val = sysconfig.get_path(var)
if val and '/{}.framework'.format(fw) in val:
fdir = val[:val.index('/{}.framework'.format(fw))]