Compiling _socket.pyd with SSL support

2003-01-03 Thread Danny Meidell



Hi,
 
Has anyone out there had any luck compiling the 
_socket.pyd module from ActivePython against the OpenSSL libraries on 
Win32?
 
Any pointers in the right direction would be 
appreciated.
 
thx,
 
-danny
 


Re: Compiling _socket.pyd with SSL support

2003-01-03 Thread Trent Mick
[Danny Meidell wrote]
> Hi,
> 
> Has anyone out there had any luck compiling the _socket.pyd module
> from ActivePython against the OpenSSL libraries on Win32?
> 
> Any pointers in the right direction would be appreciated.

You could try this:
- get the ActivePython sources (or the Python 2.2 ones would almost
  certainly suffice as well)
- get the OpenSSL sources and compile them
- rebuild _socket.dsp with something like this:
set CL=/D "USE_SSL" /I "..\..\openssl\inc32"
set LINK=..\..\openssl\out32dll\ssleay32.lib ..\..\openssl\out32dll\libeay32.lib
msdev pcbuild.dsw /MAKE "_socket - Win32 Release" /USEENV
- plop the new _socket.pyd and the relevant OpenSSL DLLs into your
  ActivePython installation

YMMV.

Cheers,
Trent

-- 
Trent Mick
[EMAIL PROTECTED]
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython




Help with Mark Hammond's PythonWin

2003-01-03 Thread Bob Gailer
Where is the best place to get help with PythonWin and Win32Com?

___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython




Re: Help with Mark Hammond's PythonWin

2003-01-03 Thread Trent Mick
[Bob Gailer wrote]
> Where is the best place to get help with PythonWin and Win32Com?

If you install ActivePython then you already have it (the PyWin32
extensions are included by default). If you are installing the Python
distro from python.org then you can install the PyWin32 stuff from here:
http://starship.python.net/~skippy/win32/

Cheers,
Trent

-- 
Trent Mick
[EMAIL PROTECTED]
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython




Problems - ActivePython 2.2.2-224 on Win2K (No SP)

2003-01-03 Thread Tom Churm



hi,
 
i just installed ActivePython-2.2.2-224 on Windows 
2000 (no Service Pack).  don't think it matters, but i'm running a 
multi-boot system and Python has been installed on my (win2k) partition 'H:\' 
instead of 'C:\'.
 
Python works, but not the PythonWin IDE.  as 
soon as i open up the PythonWin IDE i get a popup window labelled 'Traceback 
when executing InitInstance handler'.  the text inside this popup is as 
follows:
 
  File 
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\intpyapp.py", line 163, 
in InitInstance    import interact  File 
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\interact.py", line 26, 
in ?    import winout  File 
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\winout.py", line 228, 
in ?    import pywin.scintilla.view  File 
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\view.py", line 16, in 
?    import bindings  File 
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\bindings.py", line 6, 
in ?    import keycodes  File 
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\keycodes.py", line 25, 
in ?    _better_names = [exceptions.AttributeError: 
'module' object has no attribute 'VK_RETURN'
 
please note that i've tried starting the 
ActivePython installer package and running the 'Repair' option, as well as 
completely uninstalling ActivePython and then reinstalling it (including 
deleting all Python registry items before reinstalling), but it just ain't 
workin'.  i hope noone's going to suggest that i install a Win2k Service 
Pack...i'd like to avoid this, since my system's running fine as it 
is.
 
any help is greatly appreciated...oh, yeah - i'm 
99% sure my ActivePython installer package is not damaged, 'cause it's the same 
installation file i've used to successfully install ActivePython on another 
Win2K computer.
 
thanks,
 
tom