I've had all kinds of troubles getting lxml to buildout on OSX 10.9, as per http://stackoverflow.com/questions/22752332/cannot-install-lxml-3-3-3-on-osx-10-9-with-buildout. If you can help me with that, that would be awesome.

But assuming you can't: I can get lxml to install using pip, but I can't get buildout 2 to see and use that.

After the pip install it ends up in /usr/local/lib/python2.7/site-packages/lxml:


And the interpreter sees it:

-----------
cat bin/buildout:
#!/usr/local/opt/python/bin/python2.7

import sys
sys.path[0:0] = [
  '/Users/brad/Development/python/eggs/setuptools-3.5.1-py2.7.egg',
  '/Users/brad/Development/python/eggs/zc.buildout-2.2.1-py2.7.egg',
  ]

import zc.buildout.buildout

if __name__ == '__main__':
    sys.exit(zc.buildout.buildout.main())
-----------

/usr/local/opt/python/bin/python2.7
Python 2.7.6 (default, Apr  9 2014, 11:48:52)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import lxml
>>>
-----------

But buildout doesn't pull it in:
minitage.recipe: We have no distributions for lxml that satisfies 'lxml==3.3.5'.
minitage.recipe: Trying to get distribution for 'lxml'


So it tries installing it and I get the header complaints as per the SO thread.

So am I missing something to get buildout 2 to pull it in from my site-packages?

Cheers
Brad

_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to