1 Star 0 Fork 150

oskampung / Macast

forked from 小方 / Macast 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup_py2app.py 929 Bytes
一键复制 编辑 原始数据 按行查看 历史
小方 提交于 2021-09-04 02:52 . Fix i18n lost
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
import os
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()
OPTIONS = {
'argv_emulation': True,
'plist': {
'LSUIElement': True,
'NSHighResolutionCapable': True,
'LSMinimumSystemVersion': '10.15.0',
'CFBundleIdentifier': 'cn.xfangfang.Macast',
'NSHumanReadableCopyright': 'Copyright 2021 xfangfang and the Macast contributors.',
'CFBundleShortVersionString': str(VERSION),
'CFBundleVersion': str(VERSION),
},
'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=[]
)
Python
1
https://gitee.com/oskampung/Macast.git
git@gitee.com:oskampung/Macast.git
oskampung
Macast
Macast
main

搜索帮助