Closed
Bug 760942
Opened 13 years ago
Closed 13 years ago
install python 'ssl' module on SeaMonkey Windows machines
Categories
(SeaMonkey :: Release Engineering, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ewong, Assigned: ewong)
Details
Need to install the python 'ssl' module on most, if not all,
our new VMs.
![]() |
Assignee | |
Updated•13 years ago
|
Assignee: nobody → ewong
Status: NEW → ASSIGNED
![]() |
Assignee | |
Comment 1•13 years ago
|
||
Fixed on sea-win32-02.
Procedure:
1) Saved patch from bug #700347 to python-ssl.diff to c:\
2) c:\> mkdir temp
3) c:\> cd temp
4) c:\temp> git apply < ../python-ssl.diff
5) c:\temp> mkdir pkg
6) c:\temp> mkdir pkg\ssl
7) c:\temp> copy python-ssl\CLIENT_DATA\ssl\* pkg\ssl
8) c:\temp> copy python-ssl\CLIENT_DATA\ssl-1.15-py2.5.egg-info pkg\
9) c:\temp> zip -9 -r pkg.zip pkg\*
10) On sea-win32-02's desktop, create temp
11) Transfer pkg.zip to sea-win32-02's desktop\temp
12) unzip pkg.zip
13) enter temp\pkg folder
13) copy ssl\ to d:\mozilla-build\python25\Lib\site-packages
14) copy ssl-1.15-py2.5.egg-info to d:\mozilla-build\python25\Lib\site-packages
15) delete desktop's temp folder
16) Double click desktop's "Shortcut to start-msvc8.bat"
17) $python --version
Python 2.5
18) python
19) >>> import ssl
20) >>> ssl.__dict__
{'get_protocol_name': <function get_protocol_name at 0x00A66570>, 'SSL_ERROR_SYS
CALL': 5, 'base64': <module 'base64' from 'd:\mozilla-build\python25\lib\base64.
pyc'>, 'cert_time_to_seconds': <function cert_time_to_seconds at 0x00A66470>, 'P
EM_cert_to_DER_cert': <function PEM_cert_to_DER_cert at 0x00A664F0>, '__path__':
['d:\\mozilla-build\\python25\\lib\\site-packages\\ssl'], 'sys': <module 'sys'
(built-in)>, 'CERT_OPTIONAL': 1, 'wrap_socket': <function wrap_socket at 0x00A60
730>, 'select': <module 'select' from 'd:\mozilla-build\python25\DLLs\select.pyd
...
![]() |
Assignee | |
Comment 2•13 years ago
|
||
All Window VMs/machines have ssl installed.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•