Issue #4 resolved

Unable to reproduce simple pip execution

Anonymous created an issue

I have this python -m pip install http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz works

I try to reproduce it with gp.recipe.pip with this:

[PIL] recipe = gp.recipe.pip install = http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz

but I got this:

{{{ bin/buildout -c development.cfg install PIL Installing PIL. pip install Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/visi/Devel/python-workspace/basic-crm/eggs/pip-0.5.1-py2.6.egg/pip.py", line 7, in <module> import pkg_resources File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 698, in <module> class Environment(object): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 701, in Environment def init(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 96, in get_supported_platform plat = get_build_platform(); m = macosVersionString.match(plat) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 222, in get_build_platform plat = get_platform() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/util.py", line 97, in get_platform cfgvars = get_config_vars() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py", line 521, in get_config_vars func() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py", line 404, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.6" during configure While: Installing PIL.

An internal error occured due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "/Users/visi/Devel/python-workspace/basic-crm/eggs/zc.buildout-1.4.2-py2.6.egg/zc/buildout/buildout.py", line 1660, in main getattr(buildout, command)(args) File "/Users/visi/Devel/python-workspace/basic-crm/eggs/zc.buildout-1.4.2-py2.6.egg/zc/buildout/buildout.py", line 532, in install installed_files = self[part]._call(recipe.install) File "/Users/visi/Devel/python-workspace/basic-crm/eggs/zc.buildout-1.4.2-py2.6.egg/zc/buildout/buildout.py", line 1204, in _call return f() File "/Users/visi/Devel/python-workspace/basic-crm/eggs/gp.recipe.pip-0.4-py2.6.egg/gp/recipe/pip/init.py", line 195, in install return Scripts.install(self) File "/Users/visi/Devel/python-workspace/basic-crm/eggs/zc.recipe.egg-1.2.2-py2.6.egg/zc/recipe/egg/egg.py", line 132, in install reqs, ws = self.working_set() File "/Users/visi/Devel/python-workspace/basic-crm/eggs/gp.recipe.pip-0.4-py2.6.egg/gp/recipe/pip/init.py", line 131, in working_set self.pip_install(part_dir, build_dir, src_dir, []) File "/Users/visi/Devel/python-workspace/basic-crm/eggs/gp.recipe.pip-0.4-py2.6.egg/gp/recipe/pip/init.py", line 101, in pip_install raise RuntimeError('An error occur during pip installation. See %s-log.txt' % self.name) RuntimeError: An error occur during pip installation. See PIL-log.txt }}}

I tried to add {{{ env = MACOSX_DEPLOYMENT_TARGET=10.6 }}} but doesn't change anything PIL-log.txt is deleted I think

Comments (1)

  1. Log in to comment