From: Nerijus B. <ne...@us...> - 2007-11-27 20:10:07
|
On Tue, 27 Nov 2007 20:27:54 +0100 Thomas Heller <th...@ct...> wrote: > > -from domreg import getDOMImplementation,registerDOMImplementation > > +from xml.dom.domreg import getDOMImplementation,registerDOMImplementation > > Unfortunately I have no time to investigate this further. > > > Any ideas how to make it work without patching Python sources? > > Or should I ask Python folks to make this change in their sources? > > Try to put something like this in your script. It can be in a function that > is never called; often I use a name like 'py2exe_hint' for it: > > def py2exe_hint(): > import xml.dom.domreg I tried to just use "import xml.dom.domreg" yesterday and it didn't work. Strange, today it works w/o any additional import and w/o patching Python sources (although I fixed one wine problem related to not working _urandom()). Regards, Nerijus |