1
0
Fork 0
mirror of synced 2024-05-13 00:53:04 +12:00

Make pypresence an optional dependency, to avoid packaging errors

This commit is contained in:
Dummerle 2022-06-19 00:18:13 +02:00
parent feb45afc47
commit d5a6769724

View file

@ -12,7 +12,6 @@ requirements = [
"PyQt5",
"QtAwesome",
"psutil",
"pypresence",
'pywin32; platform_system == "Windows"',
]
@ -20,7 +19,8 @@ optional_reqs = dict(
webview=[
'pywebview[gtk]; platform_system == "Linux"',
'pywebview[cef]; platform_system == "Windows"',
]
],
pypresence=["pypresence"]
)
setuptools.setup(
@ -40,6 +40,7 @@ setuptools.setup(
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
"Operating System :: OS Independent"
],