jellyfin-mpv-shim/setup.py
Ian Walton 840df54ae3
SyncPlay for 10.7.0 (#177)
* checkpoint

* SyncPlay sort-of works now.

* Fix issue with not sending ready.

* Additional work on SyncPlay.

* Additional work on SyncPlay.

* #170 Fix sending zero position on finished_callback.

* Add ping back but make errors less noisy.

* Disable server discovery which isn't used.

* Fix skipping, stop delay (#175), and SyncPlay (#168).

* Update po/pot.

* Up version to 1.9.0.
2021-03-18 02:00:29 -04:00

61 lines
1.8 KiB
Python

from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="jellyfin-mpv-shim",
version="1.9.0",
author="Ian Walton",
author_email="iwalton3@gmail.com",
description="Cast media from Jellyfin Mobile and Web apps to MPV.",
license="GPLv3",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/jellyfin/jellyfin-desktop",
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",
"jellyfin-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.7.0",
"python-mpv-jsonipc>=1.1.9",
"requests",
"pydantic",
],
include_package_data=True,
)