代码拉取完成,页面将自动刷新
__author__ = 'Yueyi Zhang'
# Usage
#
# Use
# python3 setup.py build
# to generate all the files (see the folder: build)
#
# Use
# python3 setup.py bdist_msi(or bdist_rpm, bdist_mac, bdist_dmg)
# to generate a distribution file (see the folder: dist)
import sys
from cx_Freeze import setup, Executable
# Under win32 platform, you should add libEGL.dll separately, do not use absolute path, use relative path
# libEGL.dll is a PyQt5 related file which could not be detected automatically by cx_Freeze. Users should add
# this file manually to guarantee the integrity.
includefiles = ['libEGL.dll']
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
options = {
'build_exe': {
'include_files': includefiles
}
}
executables = [
Executable('stock_viewer.py', base = base)
]
setup(name='StockViewer',
version='0.1',
description='Stock Viewer',
options=options,
executables=executables
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。