jellyfin-mpv-shim/setup.py
2020-11-22 14:22:05 -05:00

60 lines
1.7 KiB
Python

from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="jellyfin-mpv-shim",
version="1.8.0",
author="Ian Walton",
author_email="iwalton3@gmail.com",
description="Cast media from Jellyfin Mobile and Web apps to MPV. (Unofficial)",
license="GPLv3",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/iwalton3/jellyfin-mpv-shim",
packages=[
"jellyfin_mpv_shim",
"jellyfin_mpv_shim.display_mirror",
"jellyfin_mpv_shim.webclient_view",
],
package_data={
"jellyfin_mpv_shim.display_mirror": ["*.css", "*.html"],
"jellyfin_mpv_shim": ["systray.png"],
},
entry_points={
"console_scripts": [
"jellyfin-mpv-shim=jellyfin_mpv_shim.mpv_shim:main",
"jellyfin-mpv-desktop=jellyfin_mpv_shim.mpv_shim:main_desktop",
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
extras_require={
"gui": ["pystray", "PIL"],
"mirror": ["Jinja2", "pywebview>=3.3.1"],
"desktop": ["Flask", "pywebview>=3.3.1", "Werkzeug"],
"discord": ["pypresence"],
"all": [
"Jinja2",
"pywebview>=3.3.1",
"pystray",
"Flask",
"Werkzeug",
"pypresence",
],
},
python_requires=">=3.6",
install_requires=[
"python-mpv",
"jellyfin-apiclient-python>=1.6.2",
"python-mpv-jsonipc>=1.1.9",
"requests",
"pydantic",
],
include_package_data=True,
)