wxPython 2.4 and Python 2.4

Hi Robin,

Do you intend to do a Python 2.4 compatible release of the wxPython 2.4 series?

Some apps (*coughBoaConstructorcough*) are still in the process of cutting over to wxPython 2.5, which currently makes using them with Python 2.4 an interesting exercise :slight_smile:

Cheers,
Nick.

路路路

--
Nick Coghlan | ncoghlan@email.com | Brisbane, Australia
---------------------------------------------------------------
聽聽聽聽聽聽聽聽聽聽聽聽聽http://boredomandlaziness.skystorm.net

Nick Coghlan wrote:

Hi Robin,

Do you intend to do a Python 2.4 compatible release of the wxPython 2.4 series?

Yes, I should. My 2.4 workspace is currently ripped up with multi-version install things, plus other fixes/updates done to that branch so it will probably need to wait until all of that can be done and tested. If there is a real need for it I can probably go back to 2.4.2.4 and hack together a py-2.4 build but I'd rather not waste the time if the new version will be coming soonish anyway.

路路路

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Nick Coghlan <ncoghlan <at> iinet.net.au> writes:

Hi Robin,

Do you intend to do a Python 2.4 compatible release of the wxPython 2.4

series?

Some apps (*coughBoaConstructorcough*) are still in the process of cutting

over

to wxPython 2.5, which currently makes using them with Python 2.4 an

interesting

exercise :slight_smile:

Cheers,
Nick.

You can hack wxPython 2.4.2.4 to make compatible with python 2.4.
I read Robin's reply, but if it is urgent you can try this:

1. Install wxPythonWIN32-2.4.2.4-Py23.exe
(i copied the whole registry HKLM\SOFTWARE\Python\PythonCore\2.4 to 2.3,
  but maybe this is not necessary)
2. Find the all *.pyd file in <python>/lib/site-packages/wxPython/
  and replace the "python23.dll" to "python24.dll" in them.
3. Install boa-constructor-0.2.3.win32.exe

A little help for step 2:

路路路

====
from glob import *

def FileReadB(fn):
    f=open(fn,'rb')
    a=f.read()
    f.close()

    return a

def FileWriteB(fn,param):
    f=open(fn,'wb')
    f.write(param)
    f.close()

for f in glob('*.pyd'): # run in /site-packages/wxPython/
  a=FileReadB(f)
  FileWriteB(f+".bak",a) #make backup

  a=a.replace("python23.dll","python24.dll")

  FileWriteB(f,a)

--mb

Balazs Magyar wrote:

Nick Coghlan <ncoghlan <at> iinet.net.au> writes:

Hi Robin,

Do you intend to do a Python 2.4 compatible release of the wxPython 2.4
   

series?

Some apps (*coughBoaConstructorcough*) are still in the process of cutting
   

over

to wxPython 2.5, which currently makes using them with Python 2.4 an
   

interesting

exercise :slight_smile:

Cheers,
Nick.

You can hack wxPython 2.4.2.4 to make compatible with python 2.4. I read Robin's reply, but if it is urgent you can try this:

1. Install wxPythonWIN32-2.4.2.4-Py23.exe
(i copied the whole registry HKLM\SOFTWARE\Python\PythonCore\2.4 to 2.3, but maybe this is not necessary)
2. Find the all *.pyd file in <python>/lib/site-packages/wxPython/
and replace the "python23.dll" to "python24.dll" in them.
3. Install boa-constructor-0.2.3.win32.exe

<snip...>

boa-constructor 0.2.3 is a really old one.
Use boa 0.3.1 instead.

Uwe