我试图创建我的 File NewExistGUI2.py的可执行文件,其中 GUI 是使用 wxpython 制作的。该文件取决于其他两个文件localsettings.py和Tryone.py。我参考了 py2exe 文档,并创建了一个setup.py文件:
from distutils.core import setup
import py2exe
setup(name = 'python eulexistdb module',
version = '1.0',
description = 'Python eXistdb communicator using eulexistdb module',
author = 'Sarvagya Pant',
py_modules = ['NewExistGUI2','localsettings','Tryone']
)
并使用在命令行中编译程序
python setup.py py2exe
但是我没有在dist文件夹中创建主程序 NewExistGUI2.py 的任何 .exe 文件。我现在该怎么办?