Closed
Bug 700347
Opened 13 years ago
Closed 13 years ago
install python 'ssl' module on Windows
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: rail)
References
()
Details
Attachments
(1 file)
641.25 KB,
patch
|
bhearsum
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
We need this to do signing as part of the build process.
Reporter | ||
Comment 1•13 years ago
|
||
I managed to get some form of ssl library built after installing gnuwin32 and mingw. I had to override C_INCLUDE_PATH to point at the msys include dir, and C_LIB_PATH to point at the gnuwin32 lib dir. I'll try to document this better after verifying that it works...
Reporter | ||
Comment 2•13 years ago
|
||
Looks like this module is working fine. So, after installing all of gnuwin32 and mingw I did the following; export C_INCLUDE_PATH=/d/gnuwin32/include export C_LIB_PATH=/d/mozilla-build/msys/lib python setup.py build -cmingw32 That gave me ssl-1.15.win32.zip in dist/. Unpacking that gives me the ssl module with a bunch of leading directories. To fix, did the following: unzip ssl-1.15.win32.zip cd mozilla-build/python25/lib/site-packages cp -R ssl /d/mozilla-build/python25/lib/site-packages I couldn't make it work as a packaged egg, but that might just require some fiddling.
Reporter | ||
Updated•13 years ago
|
Assignee | ||
Comment 3•13 years ago
|
||
Tested in staging. Diff agains Ben's version: --- a/python-ssl/CLIENT_DATA/ssl.ins +++ b/python-ssl/CLIENT_DATA/ssl.ins @@ -4,9 +4,9 @@ StayOnTop=false [Aktionen] DefVar $SITE_PACKAGES$ -Set $SITE_PACKAGES$ = "d:\\mozilla-build\\python25\\lib\\site-packages" +Set $SITE_PACKAGES$ = "d:\mozilla-build\python25\lib\site-packages" Files_copy_files [Files_copy_files] -copy -s %SCRIPTPATH%\ssl $SITE_PACKAGES$\ssl -copy %SCRIPTPATH%\ssl-1.15-py2.5.egg-info $SITE_PACKAGES$ +copy -s %SCRIPTPATH%\ssl\*.* $SITE_PACKAGES$\ssl +copy %SCRIPTPATH%\ssl-1.15-py2.5.egg-info $SITE_PACKAGES$\
Attachment #572906 -
Flags: review?(bhearsum)
Reporter | ||
Updated•13 years ago
|
Attachment #572906 -
Flags: review?(bhearsum) → review+
Reporter | ||
Comment 4•13 years ago
|
||
Rail took over finishing this up, thanks Rail!
Assignee: bhearsum → rail
Assignee | ||
Comment 5•13 years ago
|
||
Comment on attachment 572906 [details] [diff] [review] OPSI package http://hg.mozilla.org/build/opsi-package-sources/rev/0dbe58a68a3a
Attachment #572906 -
Flags: checked-in+
Assignee | ||
Comment 6•13 years ago
|
||
I've set all build (mw32-ix-* + w32-*) and ref machines to setup this package. Staging slaves set to pick up this package as well.
Assignee | ||
Comment 7•13 years ago
|
||
According to OPSI the package has been installed on all alive slaves in production. All slaves with not-installed status marked as problematic in slavealloc (disk issues, reimaging, etc.)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•