Python -> EXE?

Pieter Claerhout PClaerhout at CREO.BE
Thu Jan 20 03:36:28 EST 2000


Make a copy of the pywintypes15.dll file, and rename it to
pywintypes.dll and then it should work just fine.

Pieter

-----Original Message-----
From: tiddlerdeja at my-deja.com [mailto:tiddlerdeja at my-deja.com]
Sent: Wednesday, January 19, 2000 8:14 PM
To: python-list at python.org
Subject: Re: Python -> EXE?


I tried to use the Standalone.py from this distribution, but I got an
error.

 found OLEAUT32.dll
 found python15.dll
 added filter <TypeFilter {'d': 1}>
Creating createFruitCategories.exe
  support\Run.exe -> createFruitCategories.exe
  C:\TEMP\~535-1 -> createFruitCategories.exe
Gathering components of dist_createFruitCategories
 added filter <TypeFilter {'d': 1}>
Creating dist_createFruitCategories
Traceback (innermost last):
  File "Builder.py", line 502, in ?
    main(opts, args)
  File "Builder.py", line 484, in main
    target.build()
  File "Builder.py", line 87, in build
    self.assemble()
  File "Builder.py", line 234, in assemble
    shutil.copy2(path, self.name)
  File "d:\Program Files\Python\Lib\shutil.py", line 63, in copy2
    copyfile(src, dst)
  File "d:\Program Files\Python\Lib\shutil.py", line 17, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 'c:\\winnt\\system32
\\pywintypes.dll'



I have pywintypes15.dll. Could someone tell me what I'm doing wrong?

Thanks.


In article <002801bf60fa$80b4b440$f29b12c2 at secret.pythonware.com>,
  "Fredrik Lundh" <fredrik at pythonware.com> wrote:
> Christian Schaller <Christian.Schaller at mchp.siemens.de> wrote:
> >   Is there a tool similar to Perl2Exe that transforms a Python
program
> > to a MS .EXE programc that can be executed without installing
Python =
> on
> > a machine?
>
>     http://www.python.org/doc/FAQ.html#4.28
>     "How can I create a stand-alone binary from a Python script?"
>
> </F>
>
> <!-- (the eff-bot guide to) the standard python library:
> http://www.pythonware.com/people/fredrik/librarybook.htm
> — see it live on the python conference! -->
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.
-- 
http://www.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list