[Tutor] PyDtls
eryksun
eryksun at gmail.com
Tue Mar 26 19:01:49 CET 2013
On Tue, Mar 26, 2013 at 1:35 PM, eryksun <eryksun at gmail.com> wrote:
>> C:\dtls\Dtls-0.1.0.sdist_with_openssl.win32\Dtls-0.1.0\dtls>
>> python setup.py install
>>
>> Was that incorrect?Please help me out as i am eager to learn about pydtls.
>
> That's fine,
On 2nd thought, that's not fine. setup.py is located in the parent directory.
Make sure you're in the right directory:
> C:
> cd C:\dtls\Dtls-0.1.0.sdist_with_openssl.win32\Dtls-0.1.0
Run the setup script:
> python setup.py install
Run python and import dtls to test it:
>>> import dtls
>>> import ssl
>>> hasattr(ssl, 'DTLS_OPENSSL_VERSION')
False
Now patch ssl:
>>> dtls.do_patch()
>>> ssl.DTLS_OPENSSL_VERSION
'OpenSSL 1.0.1c 10 May 2012'
More information about the Tutor
mailing list