Compiling python without ssl?
nirina.raseliarison at gmail.com
Fri Apr 1 14:55:56 CEST 2011
> Is there any way to compile python (3.1.3, in case it matters) without
> ssl support? OpenSSL is on my system, and configure finds it, but I
> can't find a way to tell configure to explicitly ignore it.
> I need a version of python without ssl for trade compliance reasons (I
> don't make the dumb rules, I just follow 'em), and we used to be able
> to just remove the ssl module after the build. With more recent
> releases, though, this approach causes problems with e.g. hashlib.
> Ideally I'd like something like "configure --disable-ssl", but I can
> also do surgery on configure or something if that's what it takes.
> Thanks in advance!
you can change or erase the list of include and library files
related to ssl in setup.py before configuring.
but, as you say, this may break hashlib. and probably the socket
module, and may be other things, like idle.
More information about the Python-list