Failed build during install with pip
I tried to install pluginbuilder through pip. The install failed with the following error message below. I'm on OS X 10.8.2 with Xcode 4.6 and, as visible below, python 3.3.0.
File "./pluginbuilder/bundletemplate/setup.py", line 25, in main isysroot = re.findall(r'-isysroot\s+(\S+)', CFLAGS) IndexError: list index out of range
I've reproduced the few lines of python code to get to CFLAGS and here's what I got:
patrick$ python Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 01:25:11) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import distutils.sysconfig >>> cfg = distutils.sysconfig.get_config_vars() >>> CFLAGS = cfg['CFLAGS'] >>> CFLAGS '-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -arch i386 -arch x86_64 '
So I don't have a -isysroot option in my CFLAGS and the code is not expecting that. I'm (very) new to python, so there's a chance I don't entirely know what I'm doing.