trufont / trufont-pkg

Laurent Fabius.
1 stars 1 forks source link

CPython extensions #1

Open adrientetar opened 7 years ago

adrientetar commented 7 years ago

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.)

anthrotype commented 7 years ago

Can't we bundle our own openssl?

adrientetar commented 7 years ago

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.

anthrotype commented 7 years ago

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.

adrientetar commented 7 years ago

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.