optional dependency

This commit is contained in:
ForgQi committed 2022-03-25 21:55:41 +08:00
1 parent 1685a87beb
commit cd1fc67601
4 files changed
+2 -6

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ RUN \
apk add --no-cache ffmpeg musl-dev libffi-dev zlib-dev jpeg-dev ca-certificates && \
git clone --depth 1 https://github.com/ForgQi/biliup.git && \
cd biliup && \
pip3 install --no-cache-dir quickjs && \
pip3 install --no-cache-dir -r requirements.txt && \
pip3 install -e . && \
apk del .build-deps
+1 -1
View File
@@ -6,7 +6,7 @@ from .common.timer import Timer
from .engine.event import Event
from .engine import config
__version__ = "0.2.6"
__version__ = "0.2.7"
async def main():
-4
View File
@@ -256,10 +256,6 @@ class BiliBili:
upload = lambda *args, **kwargs: self.cos(*args, **kwargs, internal=True)
elif self._auto_os['os'] == 'kodo':
upload = self.kodo
elif self._auto_os['os'] == "gcs":
raise NotImplementedError('gcs')
elif self._auto_os['os'] == "bos":
raise NotImplementedError('bos')
else:
logger.error(f"NoSearch:{self._auto_os['os']}")
raise NotImplementedError(self._auto_os['os'])
-1
View File
@@ -8,4 +8,3 @@ PyYAML>=4.2b1
streamlink>=0.14.2
ykdl>=1.7.1
rsa>=4.6
quickjs>=1.17.0