Hello all:
I follow the following tutorial
Description:
script for making executables with py2exe
##############
from distutils.core import setup
import sys, os, py2exe
name = sys.argv[1]
sys.argv[1] = 'py2exe'
sys.path.append (os.path.dirnam e(os.path.abspa th(name)))
setup(name=name[:-3], scripts=[name])
##############
However, I can not get the expected results.
1save the above script as file makexe.py under the folder
C:\Program Files\Python24\ Tools\Scripts
2add this path to system path
3C:\makexe.py myscript.py
What I got from the "dist" folder are as follows:
C:\dist\unicode data.pyd
C:\dist\w9xpope n.exe
C:\dist\zlib.py d
C:\dist\bz2.pyd
C:\dist\library .zip
C:\dist\MSVCR71 .dll
C:\dist\python2 4.dll
Suppose I should get an executable file under this folder.
What should I do to solve this problem?
Thank you
-Daniel
I follow the following tutorial
Description:
script for making executables with py2exe
##############
from distutils.core import setup
import sys, os, py2exe
name = sys.argv[1]
sys.argv[1] = 'py2exe'
sys.path.append (os.path.dirnam e(os.path.abspa th(name)))
setup(name=name[:-3], scripts=[name])
##############
However, I can not get the expected results.
1save the above script as file makexe.py under the folder
C:\Program Files\Python24\ Tools\Scripts
2add this path to system path
3C:\makexe.py myscript.py
What I got from the "dist" folder are as follows:
C:\dist\unicode data.pyd
C:\dist\w9xpope n.exe
C:\dist\zlib.py d
C:\dist\bz2.pyd
C:\dist\library .zip
C:\dist\MSVCR71 .dll
C:\dist\python2 4.dll
Suppose I should get an executable file under this folder.
What should I do to solve this problem?
Thank you
-Daniel
Comment