Closed aclark4life closed 7 years ago
I notice this line:
Download error: unknown url type: https -- Some packages may not be found!
So you need another system package. I think openssl-dev.
@mauritsvanrees Even on OS X? You may be right… but that doesn't sound familiar yet. IIRC Homebrew Python 2.7 includes SSL. I don't have that machine handy, but here's what I see on a similar device where I succeeded in getting buildout.python
working recently:
~ python
Python 2.7.11 (default, Dec 26 2015, 17:47:53)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.__file__
'/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.pyc'
(Also not sure if that is a valid test of SSL support.)
brew link openssl --force
Then start over; ensure /usr/local/bin/openssl
is the response to which openssl
instead of /usr/bin/openssl
Using brew link
seems preferable to what I have done recently:
SSL=$(brew --prefix openssl) \
CFLAGS="-I$SSL/include -I$(xcrun --show-sdk-path)/usr/include" \
LDFLAGS="-L$SSL/lib" \
./bin/buildout
And… this might be broken again within Homebrew 1.0:
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
As far as I can tell, setting -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
in src/python24.cfg
doesn't help.
I want to track and share my most recent workflow (on OS X 10.11) with
buildout.python
because I'd like this process to be much smoother:At this point I notice I'm running setuptools 23 and stuck in a looping error:
Next I downgrade to setuptools 1.4.2 with
bin/pip install setuptools==1.4.2
to continue;bin/python bootstrap.py
gets you this far, too. Thenbuildout.python
fails on:IIRC I've gotten this far before and I eventually remember the next trick to go further. I'll update this ticket when that happens.