5 Star 12 Fork 6

zhyuey/StockViewer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
setup.py 954 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhyuey 提交于 2014-03-21 14:48 . change some comments of setup.py
__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
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhyuey/StockViewer.git
[email protected]:zhyuey/StockViewer.git
zhyuey
StockViewer
StockViewer
master

搜索帮助