jellyfin-mpv-shim/setup.py

61 lines
1.8 KiB
Python
Raw Permalink Normal View History

2019-08-19 22:23:24 +00:00
from setuptools import setup
2019-08-18 06:02:09 +00:00
2019-09-15 23:22:57 +00:00
with open("README.md", "r") as fh:
long_description = fh.read()
2019-08-18 06:02:09 +00:00
setup(
2020-08-22 15:38:07 +00:00
name="jellyfin-mpv-shim",
version="1.9.0",
2019-09-15 23:22:57 +00:00
author="Ian Walton",
author_email="iwalton3@gmail.com",
description="Cast media from Jellyfin Mobile and Web apps to MPV.",
2020-08-22 15:38:07 +00:00
license="GPLv3",
long_description=open("README.md").read(),
2019-09-15 23:22:57 +00:00
long_description_content_type="text/markdown",
url="https://github.com/jellyfin/jellyfin-desktop",
2020-03-29 19:11:24 +00:00
packages=[
2020-08-22 15:38:07 +00:00
"jellyfin_mpv_shim",
"jellyfin_mpv_shim.display_mirror",
"jellyfin_mpv_shim.webclient_view",
2020-03-29 19:11:24 +00:00
],
2020-02-22 02:42:27 +00:00
package_data={
2020-08-22 15:38:07 +00:00
"jellyfin_mpv_shim.display_mirror": ["*.css", "*.html"],
"jellyfin_mpv_shim": ["systray.png"],
2020-02-22 02:42:27 +00:00
},
2019-08-19 22:23:24 +00:00
entry_points={
2020-08-22 15:38:07 +00:00
"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",
2019-08-18 06:02:09 +00:00
]
},
2019-09-15 23:22:57 +00:00
classifiers=[
"Programming Language :: Python :: 3",
2020-01-11 18:39:38 +00:00
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
2019-09-15 23:22:57 +00:00
"Operating System :: OS Independent",
],
2020-08-22 15:38:07 +00:00
extras_require={
2020-08-22 19:00:24 +00:00
"gui": ["pystray", "PIL"],
2020-08-22 15:38:07 +00:00
"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",
],
2020-02-22 02:42:27 +00:00
},
2020-08-22 15:38:07 +00:00
python_requires=">=3.6",
install_requires=[
"python-mpv",
"jellyfin-apiclient-python>=1.7.0",
2020-08-22 15:38:07 +00:00
"python-mpv-jsonipc>=1.1.9",
"requests",
"pydantic",
2020-08-22 15:38:07 +00:00
],
include_package_data=True,
2019-08-18 06:02:09 +00:00
)