Open adrientetar opened 7 years ago
Can't we bundle our own openssl?
Like Qt it takes a long time to compile and binaries are easily available, we should just fail if absent so the user/server installs the required packages.
Hm, maybe for those things is better to rely on the one already present on the system. On OSX openssl is super ancient, as apple tries to push for its own crypto library.
On GNU it's not always present, and if not python is built without SSL support. The point is just to make builds with consistent features.
Python is modular, it seems it will or won't build some extensions depending on packages present in the host operating system, e.g. openssl/libssl for the _ssl extension. Dependencies should be enforced somehow.
zlib is also needed, see: https://github.com/pypa/pip/issues/1919
build-essential libbz2-dev libffi-dev libncursesw5-dev libreadline-dev libssl-dev zlib1g-dev
(This issue doesn't apply on Windows where we don't compile Python.)