Here's my latest from the eGenix developer:
I have no idea why py2exe thinks that mxDateTime.__version__
is a module. It actually is a symbol that is being imported
from the C extension.
I'd suggest you ask Thomas Heller about the problem and
why py2exe thinks it needs a module with that name.
Benedict Verheyen suggests:
Change the file Lib\site-packages\py2exe\build_exe.py:
Find the line
package = ".".join(item.__name__.split(".")[:-1])
and change it too:
package = "\\".join(item.__name__.split(".")[:-1])
Then you should get the mxDateTime error anymore at least that did it
The solution came from somebody on the list so the original message is still
And he's right, it works well. This is a good enough solution for me.
But for the sake of which ever developer follows me on this project,
it'd be helpful if I knew if this sort of chance is expected to be part
of a future release of the excellent py2exe program, or if I should be
instructing them how to patch the local copy.
Thomas Heller requests that this list be used instead of contacting him
So Thomas, you out there. Should I expect this to be fixed in a future
version, or is there something more complicated necessary?
Mike Cariaso wrote:
> I know that the source of this issue seems to be with
> eGenix, but perhaps others here have found work
> in short, py2exe generates this message:
> The following modules appear to be missing
> with bundle >= 3 thats a non-fatal.
> with bundle < 3 its fatal with an
> IOError in
> distutils\file_util.py when an unlink fails at roughly
> line 41.
> This in turn is called at several places in py2exe's
> build_exe line 382 as self.copy_file
> I have contacted the eGenix developer, but I get the
> impression other have had similar warnings from other
> libraries in the past, and will be asking about
> bundling in the future.
> fixes, help or thoughts appreciated.
> mike cariaso
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> Py2exe-users mailing list