Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

CPython extensions #1

Open
adrientetar opened this issue Mar 30, 2017 · 4 comments
Open

CPython extensions #1

adrientetar opened this issue Mar 30, 2017 · 4 comments

Comments

@adrientetar
Copy link
Member

adrientetar commented Mar 30, 2017

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: pypa/pip#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
Copy link
Member

Can't we bundle our own openssl?

@adrientetar
Copy link
Member Author

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
Copy link
Member

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
Copy link
Member Author

adrientetar commented Mar 30, 2017

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.

@adrientetar adrientetar changed the title Python extensions CPython extensions Mar 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants