Distributing Python
Holger Jannsen
holger at phoenix-edv.netzservice.de
Thu Oct 12 09:20:34 EDT 2000
Hi,
BTW: It's a year or two away I made a script under python (and it's
about that time I haven't read this group) and I want to distribute it
as a standalone windows32-executable now.
I want to distribute it without the need of any python-installation on
board. So I checked out Gordon's Pages at:
http://starship.python.net/crew/gmcm/index.html
But I get a little bit confused by the result/error messages. So I tried
the example and got the same errors. What's wrong? I'd be pleased if
you'd give me a short hint.
--------------------
C:\tmp\python>python c:\programme\python20\installer3f\freeze.py
helloworld.py
> "c:\programme\python20\python.exe" c:\programme\python20\installer3f\Builder.py helloworld.cfg
opts: []
args: ['helloworld.cfg']
Initializing
Traceback (most recent call last):
File "c:\programme\python20\installer3f\Builder.py", line 502, in ?
main(opts, args)
File "c:\programme\python20\installer3f\Builder.py", line 473, in main
target = makeTarget(cfg, section)
File "c:\programme\python20\installer3f\Builder.py", line 416, in
makeTarget
return dispatch[cfg.get(section, 'type')](cfg, section, optcnvrts)
File "c:\programme\python20\installer3f\Builder.py", line 98, in
__init__
Target.__init__(self, cfg, sectnm, cnvrts)
File "c:\programme\python20\installer3f\Builder.py", line 34, in
__init__
print "Initializing", self.__name__
AttributeError: 'PYZTarget' instance has no attribute '__name__'
---------------------
friendly,
Holger
More information about the Python-list
mailing list