Starting to make chromecast support not required for install

This commit is contained in:
Sumner Evans
2020-06-07 16:58:53 -06:00
parent 4c3db97ca9
commit 4f9e458b1e
2 changed files with 2 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ sphinx-rtd-theme = "*"
termcolor = "*"
[packages]
sublime-music = {editable = true,extras = ["keyring"],path = "."}
sublime-music = {editable = true,extras = ["chromecast", "keyring"],path = "."}
[requires]
python_version = "3.8"

View File

@@ -54,13 +54,11 @@ setup(
packages=find_packages(exclude=["tests"]),
package_data={"sublime": ["ui/app_styles.css", *package_data_files]},
install_requires=[
"bottle",
"dataclasses-json",
"deepdiff",
"fuzzywuzzy",
'osxmmkeys ; sys_platform=="darwin"',
"peewee",
"pychromecast",
"PyGObject",
"python-dateutil",
"python-Levenshtein",
@@ -68,7 +66,7 @@ setup(
"pyyaml",
"requests",
],
extras_require={"keyring": ["keyring"]},
extras_require={"keyring": ["keyring"], "chromecast": ["pychromecast", "bottle"]},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and
# allow pip to create the appropriate form of executable for the target