1 Star 0 Fork 151

tollge/Macast

forked from 小方/Macast 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup_py2app.py 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
import os
import datetime
from setuptools import setup
APP = ['Macast.py']
DATA_FILES = ['i18n']
VERSION = "0.0.0"
with open('macast/.version', 'r') as f:
VERSION = f.read().strip()
copyright = 'Copyright {} xfangfang and the Macast contributors.'.format(datetime.datetime.now().year)
OPTIONS = {
'argv_emulation': True,
'plist': {
'LSUIElement': True,
'NSHighResolutionCapable': True,
'LSMinimumSystemVersion': '10.12.0',
'CFBundleIdentifier': 'cn.xfangfang.Macast',
'NSHumanReadableCopyright': copyright,
'CFBundleShortVersionString': str(VERSION),
'CFBundleVersion': str(VERSION),
},
'excludes': ['PIL', 'tkinter'],
'packages': ['rumps', 'macast', 'macast_renderer'],
'iconfile': os.path.abspath('macast/assets/icon.icns')
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
py_modules=[]
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/tollge/Macast.git
git@gitee.com:tollge/Macast.git
tollge
Macast
Macast
main

搜索帮助

D67c1975 1850385 1daf7b77 1850385