G
guoxiaotian
I tried py2exe the latest version with python 2.4 on windows.
the setup script looks like this:
___________________________________________
# setup.py
from distutils.core import setup
import py2exe
setup(name="Hello",
scripts=["f:\python\hello.py"],)
____________________________________________
when I run the script, the output looks like
F:\Python>python setup.py py2exe
running py2exe
running build_scripts
creating F:\Python\dist
*** searching for required modules ***
*** parsing results ***
*** finding dlls needed ***
*** create binaries ***
*** byte compile python files ***
skipping byte-compilation of D:\Python24\lib\UserDict.py to
UserDict.pyc
skipping byte-compilation of D:\Python24\lib\atexit.py to atexit.pyc
skipping byte-compilation of D:\Python24\lib\copy.py to copy.pyc
skipping byte-compilation of D:\Python24\lib\copy_reg.py to
copy_reg.pyc
skipping byte-compilation of D:\Python24\lib\linecache.py to
linecache.pyc
skipping byte-compilation of D:\Python24\lib\macpath.py to macpath.pyc
skipping byte-compilation of D:\Python24\lib\ntpath.py to ntpath.pyc
skipping byte-compilation of D:\Python24\lib\os.py to os.pyc
skipping byte-compilation of D:\Python24\lib\os2emxpath.py to
os2emxpath.pyc
skipping byte-compilation of D:\Python24\lib\popen2.py to popen2.pyc
skipping byte-compilation of D:\Python24\lib\posixpath.py to
posixpath.pyc
skipping byte-compilation of D:\Python24\lib\re.py to re.pyc
skipping byte-compilation of D:\Python24\lib\repr.py to repr.pyc
skipping byte-compilation of D:\Python24\lib\sre.py to sre.pyc
skipping byte-compilation of D:\Python24\lib\sre_compile.py to
sre_compile.pyc
skipping byte-compilation of D:\Python24\lib\sre_constants.py to
sre_constants.pyc
skipping byte-compilation of D:\Python24\lib\sre_parse.py to
sre_parse.pyc
skipping byte-compilation of D:\Python24\lib\stat.py to stat.pyc
skipping byte-compilation of D:\Python24\lib\string.py to string.pyc
skipping byte-compilation of D:\Python24\lib\traceback.py to
traceback.pyc
skipping byte-compilation of D:\Python24\lib\types.py to types.pyc
skipping byte-compilation of D:\Python24\lib\warnings.py to
warnings.pyc
*** copy extensions ***
*** copy dlls ***
copying D:\Python24\w9xpopen.exe -> F:\Python\dist
when it's done only 2 files produced under dist dir:
library.zip
w95popen.exe
any ideas?
Thanks in advance!
the setup script looks like this:
___________________________________________
# setup.py
from distutils.core import setup
import py2exe
setup(name="Hello",
scripts=["f:\python\hello.py"],)
____________________________________________
when I run the script, the output looks like
F:\Python>python setup.py py2exe
running py2exe
running build_scripts
creating F:\Python\dist
*** searching for required modules ***
*** parsing results ***
*** finding dlls needed ***
*** create binaries ***
*** byte compile python files ***
skipping byte-compilation of D:\Python24\lib\UserDict.py to
UserDict.pyc
skipping byte-compilation of D:\Python24\lib\atexit.py to atexit.pyc
skipping byte-compilation of D:\Python24\lib\copy.py to copy.pyc
skipping byte-compilation of D:\Python24\lib\copy_reg.py to
copy_reg.pyc
skipping byte-compilation of D:\Python24\lib\linecache.py to
linecache.pyc
skipping byte-compilation of D:\Python24\lib\macpath.py to macpath.pyc
skipping byte-compilation of D:\Python24\lib\ntpath.py to ntpath.pyc
skipping byte-compilation of D:\Python24\lib\os.py to os.pyc
skipping byte-compilation of D:\Python24\lib\os2emxpath.py to
os2emxpath.pyc
skipping byte-compilation of D:\Python24\lib\popen2.py to popen2.pyc
skipping byte-compilation of D:\Python24\lib\posixpath.py to
posixpath.pyc
skipping byte-compilation of D:\Python24\lib\re.py to re.pyc
skipping byte-compilation of D:\Python24\lib\repr.py to repr.pyc
skipping byte-compilation of D:\Python24\lib\sre.py to sre.pyc
skipping byte-compilation of D:\Python24\lib\sre_compile.py to
sre_compile.pyc
skipping byte-compilation of D:\Python24\lib\sre_constants.py to
sre_constants.pyc
skipping byte-compilation of D:\Python24\lib\sre_parse.py to
sre_parse.pyc
skipping byte-compilation of D:\Python24\lib\stat.py to stat.pyc
skipping byte-compilation of D:\Python24\lib\string.py to string.pyc
skipping byte-compilation of D:\Python24\lib\traceback.py to
traceback.pyc
skipping byte-compilation of D:\Python24\lib\types.py to types.pyc
skipping byte-compilation of D:\Python24\lib\warnings.py to
warnings.pyc
*** copy extensions ***
*** copy dlls ***
copying D:\Python24\w9xpopen.exe -> F:\Python\dist
when it's done only 2 files produced under dist dir:
library.zip
w95popen.exe
any ideas?
Thanks in advance!