1 Star 0 Fork 156

kai~/Macast

forked from 小方/Macast 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 2.02 KB
一键复制 编辑 原始数据 按行查看 历史
小方 提交于 2021-09-18 17:27 . Fix missing netifaces
"""
This is a setup.py script
"""
import os
import sys
from setuptools import setup, find_packages
VERSION = "0.0.0"
with open('macast/.version', 'r') as f:
VERSION = f.read().strip()
LONG_DESCRIPTION = ""
with open('README.md', 'r', encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
OPTIONS = {}
INSTALL = ["requests", "appdirs", "cherrypy", "lxml", "netifaces"]
PACKAGES = find_packages()
if sys.platform == 'darwin':
INSTALL += ["rumps",
"pyperclip"]
elif sys.platform == 'win32':
INSTALL += ["pillow",
"pyperclip",
"pystray"]
else:
INSTALL += ["pillow",
"pystray @ git+https://github.com/xfangfang/pystray.git",
"pyperclip @ git+https://github.com/xfangfang/pyperclip.git"]
setup(
name="macast",
version=VERSION,
author="xfangfang",
author_email="xfangfang@126.com",
description="a DLNA Media Renderer",
license="GPL3",
url="https://github.com/xfangfang/Macast",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
classifiers=["Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows :: Windows NT/2000',
'Operating System :: POSIX',
],
platforms=["MacOS X", "Windows", "POSIX"],
keywords=["mpv", "dlna", "renderer"],
options=OPTIONS,
install_requires=INSTALL,
packages=PACKAGES,
include_package_data=True,
entry_points={
'console_scripts': [
'macast-cli = macast.macast:cli',
'macast-gui = macast.macast:gui'
]
},
python_requires=">=3.6",
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/xiaokaige/Macast.git
git@gitee.com:xiaokaige/Macast.git
xiaokaige
Macast
Macast
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385