Make pypresence an optional dependency, to avoid packaging errors
This commit is contained in:
parent
feb45afc47
commit
d5a6769724
5
setup.py
5
setup.py
|
@ -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"
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue