I have finished my wxPython app and it runs great, but I have to find a way to distribute it. I have been fooling with py2exe but it returns the following error:
The following modules appear to be missing:
[_ssl]
I have traced the error back to urllib2. Unfortunatley I cannot just ignore the error because it is breakin my app. Does anyone have any suggestions for a different *2exe program to use, or a different method to create a Windows app that I can distribute?
cheers,
Anton
Well, you can either force py2exe to include that module (I gather
that it must exist somewhere, if it's used at all). You can also make
your users install Python and wxPython and distribute the source,
although that's often not an option...
···
On Sat, 23 Oct 2004 07:48:53 -0500, Anton Visser <avisser@agroup.com> wrote:
I have finished my wxPython app and it runs great, but I have to find a
way to distribute it. I have been fooling with py2exe but it returns
the following error:
The following modules appear to be missing:
[_ssl]
I have traced the error back to urllib2. Unfortunatley I cannot just
ignore the error because it is breakin my app. Does anyone have any
suggestions for a different *2exe program to use, or a different method
to create a Windows app that I can distribute?
I have finished my wxPython app and it runs great, but I have to find a
way to distribute it. I have been fooling with py2exe but it returns
the following error:
The following modules appear to be missing:
[_ssl]
I get a similiar error, but it's not actually an error - that lib just
isn't included in the py2exe bundle. Are you acually using the SLL
functionality?
···
On Sat, 23 Oct 2004 07:48:53 -0500, Anton Visser <avisser@agroup.com> wrote:
I have traced the error back to urllib2. Unfortunatley I cannot just
ignore the error because it is breakin my app. Does anyone have any
suggestions for a different *2exe program to use, or a different method
to create a Windows app that I can distribute?
cheers,
Anton
Are you *sure* that's what is breaking your app? Unless your app uses
SSL, that isn't it, and including that file just increases the size of
your distributable for no good reason. If you aren't using SSL then
perhaps if you showed the actual error your app generates so someone
could help more.
Anyway, I believe you can tell py2exe to include a file that it missed
(usually the result of some module mucking about with the import system)
by adding this to your setup.py:
setup(
...
options = {
'py2exe': {'includes': ['_ssl']},
}
...
)
Cliff
···
On Sat, 2004-10-23 at 07:48 -0500, Anton Visser wrote:
I have finished my wxPython app and it runs great, but I have to find a
way to distribute it. I have been fooling with py2exe but it returns
the following error:
The following modules appear to be missing:
[_ssl]
I have traced the error back to urllib2. Unfortunatley I cannot just
ignore the error because it is breakin my app. Does anyone have any
suggestions for a different *2exe program to use, or a different method
to create a Windows app that I can distribute?
--
Cliff Wells <clifford.wells@comcast.net>