jellyfin-mpv-shim/setup.py

54 lines
1.5 KiB
Python
Raw 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",
2022-06-19 17:39:32 +00:00
version="2.2.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",
2021-04-20 00:07:38 +00:00
url="https://github.com/jellyfin/jellyfin-mpv-shim",
2020-03-29 19:11:24 +00:00
packages=[
2020-08-22 15:38:07 +00:00
"jellyfin_mpv_shim",
2021-04-20 00:07:38 +00:00
"jellyfin_mpv_shim.display_mirror"
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": [
2021-04-20 00:07:38 +00:00
"jellyfin-mpv-shim=jellyfin_mpv_shim.mpv_shim:main"
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"],
"discord": ["pypresence"],
"all": [
"Jinja2",
"pywebview>=3.3.1",
"pystray",
"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.8.1",
2020-08-22 15:38:07 +00:00
"python-mpv-jsonipc>=1.1.9",
"requests",
],
include_package_data=True,
2019-08-18 06:02:09 +00:00
)