Hello all:
I follow the following tutorial
http://aspn.activestate.com/ASPN/Coo.../Recipe/108598
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.dirname(os.path.abspath(na me)))
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\unicodedata.pyd
C:\dist\w9xpopen.exe
C:\dist\zlib.pyd
C:\dist\bz2.pyd
C:\dist\library.zip
C:\dist\MSVCR71.dll
C:\dist\python24.dll
Suppose I should get an executable file under this folder.
What should I do to solve this problem?
Thank you
-Daniel