Re: ZODB won't install into Virtual Environments on OSX

Jason Madden <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
> On May 5, 2016, at 17:00, Joseph Lee Nunn III <[email protected]> wrote:
> 
> Is there a system wide setting I may have botched somewhere in the past to always include this?

Other than the aforementioned environment variables, not to my knowledge. But distutils and sysconfig include lots of OS X-specific code (look for 'darwin' in those modules, and at _osx_support.py) that I haven't really read. Though, a quick skim does suggest that explicitly setting the correct '-isysroot /path/to/xcode/sdk/' in CFLAGS might bypass the problem.

As 'persistent' doesn't seem to do anything special in its setup.py, this is probably not anything ZODB related but a general problem with the build environment. numpy and scipy both distribute binary wheels for OS X, so you wouldn't have had to compile anything to install them, explaining why they didn't present problems. (ZODB does not yet distribute a full set of required wheels for OS X.)

You may find it useful to download/check out, say, persistent or another simple module with C extensions, and use pdb to debug through the setup() call in 'python ./setup.py install' to see how the cflags and compiler arguments are getting built in your environment.

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.