How to configure Python to use ssl

Michael Hudson mwh21 at cam.ac.uk
Mon Oct 23 03:22:43 EDT 2000


Steven <steven at steven.com.hk> writes:

> Hi
> How can I configure Python2.0 to use ssl (I want to access https pages).
> 
> My ex-colleague used to do this in Python 1.6
>     1. Add constant USE_SSL for socketmodule.c
>     2. configure with --with-libs="-lssl -lcrypto"
> Point 1. seems too artificial
> Point 2. I don't  know where he found such 'tips'
> Is there any clean way to do it? I have openssl installed.

Look at Modules/Setup[.in]?  You should be able to see what to do
there.

M.

-- 
  I don't have any special knowledge of all this. In fact, I made all
  the above up, in the hope that it corresponds to reality.
                                            -- Mark Carroll, ucam.chat



More information about the Python-list mailing list