From 3c73d58513aa2c5411b845311cf9985f76a7e317 Mon Sep 17 00:00:00 2001 From: Prayag Date: Fri, 29 Apr 2022 14:57:22 +0530 Subject: [PATCH] Move to poetry manager --- .gitignore | 3 +- .gitmodules | 6 +- JellyPlayer-FrontEnd | 1 - jellyplayer/__init__.py | 78 +++ {assets => jellyplayer/assets}/icon.icns | Bin {assets => jellyplayer/assets}/icon.ico | Bin {assets => jellyplayer/assets}/icon.png | Bin {assets => jellyplayer/assets}/icon.svg | 0 {assets => jellyplayer/assets}/logo.png | Bin {assets => jellyplayer/assets}/logo.svg | 0 {assets => jellyplayer/assets}/mesh_bg.png | Bin jellyplayer/jellyplayer-jellyfin-vue | 1 + main.spec.bak => jellyplayer/main.spec.bak | 0 mainWindow.qml => jellyplayer/mainWindow.qml | 0 .../main_linux.spec | 0 .../main_macos.spec | 0 main_win.spec => jellyplayer/main_win.spec | 2 +- main.py | 142 ----- poetry.lock | 525 ++++++++++++++++++ pyproject.toml | 29 + requirements.txt | 8 - tests/__init__.py | 0 tests/test_jellyplayer.py | 5 + 23 files changed, 644 insertions(+), 156 deletions(-) delete mode 160000 JellyPlayer-FrontEnd create mode 100644 jellyplayer/__init__.py rename {assets => jellyplayer/assets}/icon.icns (100%) rename {assets => jellyplayer/assets}/icon.ico (100%) rename {assets => jellyplayer/assets}/icon.png (100%) rename {assets => jellyplayer/assets}/icon.svg (100%) rename {assets => jellyplayer/assets}/logo.png (100%) rename {assets => jellyplayer/assets}/logo.svg (100%) rename {assets => jellyplayer/assets}/mesh_bg.png (100%) create mode 160000 jellyplayer/jellyplayer-jellyfin-vue rename main.spec.bak => jellyplayer/main.spec.bak (100%) rename mainWindow.qml => jellyplayer/mainWindow.qml (100%) rename main_linux.spec => jellyplayer/main_linux.spec (100%) rename main_macos.spec => jellyplayer/main_macos.spec (100%) rename main_win.spec => jellyplayer/main_win.spec (90%) delete mode 100644 main.py create mode 100644 poetry.lock create mode 100644 pyproject.toml delete mode 100644 requirements.txt create mode 100644 tests/__init__.py create mode 100644 tests/test_jellyplayer.py diff --git a/.gitignore b/.gitignore index b314101..12ff133 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ __pycache__ *.mkv *.mp4 *mpv* -sh-agent* \ No newline at end of file +sh-agent* +.pytest_cache \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 04719ee..ab42118 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "JellyPlayer-FrontEnd"] - path = JellyPlayer-FrontEnd - url = git@github.com:prayag17/JellyPlayer-FrontEnd.git +[submodule "jellyplayer/jellyplayer-jellyfin-vue"] + path = jellyplayer/jellyplayer-jellyfin-vue + url = git@github.com:prayag17/jellyplayer-jellyfin-vue.git diff --git a/JellyPlayer-FrontEnd b/JellyPlayer-FrontEnd deleted file mode 160000 index c5ba23e..0000000 --- a/JellyPlayer-FrontEnd +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c5ba23e5a994b6c410f09e7bd3f6c8510bf60321 diff --git a/jellyplayer/__init__.py b/jellyplayer/__init__.py new file mode 100644 index 0000000..1bcd3fc --- /dev/null +++ b/jellyplayer/__init__.py @@ -0,0 +1,78 @@ +__version__ = '0.1.0' + +import sys,os,subprocess +from PySide6.QtWidgets import QApplication, QMainWindow, QWidget +from PySide6.QtCore import QUrl, Slot, QObject, QProcess, Qt, QCoreApplication +from PySide6.QtGui import QIcon, QPixmap +from PySide6.QtWebChannel import QWebChannel +from PySide6.QtQml import QQmlApplicationEngine +os.environ["PATH"] = os.path.dirname(__file__) + os.pathsep + os.environ["PATH"] +import mpv + +QCoreApplication.setAttribute(Qt.AA_ShareOpenGLContexts) +app = QApplication(["--enable-smooth-scrolling", "--enable-gpu"]) +print(os.path.dirname(__file__) + os.pathsep) + +try: + from ctypes import windll + myappid = 'prayag17.jellyplayer.0.1.0' + windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid) +except ImportError: + pass + +def restart(): + QApplication.quit() + status = QProcess.startDetached(sys.executable, sys.argv) + +class Backend(QObject): + def restart(self): + QApplication.quit() + status = QProcess.startDetached(sys.executable, sys.argv) + + @Slot(str) + def launchPlayer(self, videoUrl): + import locale + locale.setlocale(locale.LC_NUMERIC, 'C') + playerwindow = PlayerWindow(videoUrl) + window.hide() + playerwindow.showMaximized() + +class MainWin(): + def __init__(self): + super().__init__(); + self.dirRaw = os.path.dirname(os.path.realpath(__file__)) + self.dir = self.dirRaw.replace("\\","/") + self.view= QQmlApplicationEngine() + + app.setWindowIcon(QIcon(QPixmap(f"{self.dir}/assets/icon.png"))) + self.view.load(QUrl.fromLocalFile(f"{self.dir}/mainWindow.qml")) + + self.backend = Backend() + self.channel = QWebChannel() + self.channel.registerObject('backend', self.backend) + + def createPlayer(self, videoUrl): + self.container = QWidget(self) + self.setCentralWidget(self.container) + self.container.setAttribute(Qt.WA_DontCreateNativeAncestors) + self.container.setAttribute(Qt.WA_NativeWindow) + player = mpv.MPV(wid=str(int(self.container.winId())), + gpu_context="d3d11", + hwdec="nvdec", + log_handler=print, + loglevel='debug') + player.play(videoUrl) + +class PlayerWindow(QMainWindow): + def __init__(self,videoUrl): + super().__init__() + + + +frontendProcess = subprocess.Popen(f'{sys.executable} {os.path.dirname(__file__)}/JellyPlayer-FrontEnd/frontend/dist/server.py', shell=True) +window = MainWin() + +print(window.dir) +exitApp = app.exec() +os.kill(frontendProcess.pid, 0) +sys.exit(exitApp) \ No newline at end of file diff --git a/assets/icon.icns b/jellyplayer/assets/icon.icns similarity index 100% rename from assets/icon.icns rename to jellyplayer/assets/icon.icns diff --git a/assets/icon.ico b/jellyplayer/assets/icon.ico similarity index 100% rename from assets/icon.ico rename to jellyplayer/assets/icon.ico diff --git a/assets/icon.png b/jellyplayer/assets/icon.png similarity index 100% rename from assets/icon.png rename to jellyplayer/assets/icon.png diff --git a/assets/icon.svg b/jellyplayer/assets/icon.svg similarity index 100% rename from assets/icon.svg rename to jellyplayer/assets/icon.svg diff --git a/assets/logo.png b/jellyplayer/assets/logo.png similarity index 100% rename from assets/logo.png rename to jellyplayer/assets/logo.png diff --git a/assets/logo.svg b/jellyplayer/assets/logo.svg similarity index 100% rename from assets/logo.svg rename to jellyplayer/assets/logo.svg diff --git a/assets/mesh_bg.png b/jellyplayer/assets/mesh_bg.png similarity index 100% rename from assets/mesh_bg.png rename to jellyplayer/assets/mesh_bg.png diff --git a/jellyplayer/jellyplayer-jellyfin-vue b/jellyplayer/jellyplayer-jellyfin-vue new file mode 160000 index 0000000..384bcd0 --- /dev/null +++ b/jellyplayer/jellyplayer-jellyfin-vue @@ -0,0 +1 @@ +Subproject commit 384bcd06eb1277a0b01bf6a904e805e5e6f7dfb2 diff --git a/main.spec.bak b/jellyplayer/main.spec.bak similarity index 100% rename from main.spec.bak rename to jellyplayer/main.spec.bak diff --git a/mainWindow.qml b/jellyplayer/mainWindow.qml similarity index 100% rename from mainWindow.qml rename to jellyplayer/mainWindow.qml diff --git a/main_linux.spec b/jellyplayer/main_linux.spec similarity index 100% rename from main_linux.spec rename to jellyplayer/main_linux.spec diff --git a/main_macos.spec b/jellyplayer/main_macos.spec similarity index 100% rename from main_macos.spec rename to jellyplayer/main_macos.spec diff --git a/main_win.spec b/jellyplayer/main_win.spec similarity index 90% rename from main_win.spec rename to jellyplayer/main_win.spec index c408280..d9efa3d 100644 --- a/main_win.spec +++ b/jellyplayer/main_win.spec @@ -7,7 +7,7 @@ block_cipher = None a = Analysis(['main.py'], pathex=[], binaries=[], - datas=[], + datas=[('JellyPlayer-FrontEnd/frontend/dist', 'mainWindow.qml')], hiddenimports=[], hookspath=[], hooksconfig={}, diff --git a/main.py b/main.py deleted file mode 100644 index ac71b5a..0000000 --- a/main.py +++ /dev/null @@ -1,142 +0,0 @@ -import sys,os,requests,subprocess,time,signal -from localStoragePy import localStoragePy -from PySide6.QtWidgets import QApplication, QMainWindow, QWidget, QSlider, QVBoxLayout, QFrame, QHBoxLayout, QPushButton -from PySide6.QtCore import QUrl, Slot, QObject, QProcess, Qt, QTimer -from PySide6.QtGui import QIcon, QPixmap, QPalette, QColor, QAction -from PySide6.QtWebEngineWidgets import QWebEngineView -from PySide6.QtWebEngineCore import QWebEngineSettings -from PySide6.QtWebChannel import QWebChannel -from PySide6.QtQuick import QQuickView -from PySide6.QtQml import QQmlApplicationEngine -os.environ["PATH"] = os.path.dirname(__file__) + os.pathsep + os.environ["PATH"] -import mpv - -app = QApplication(["--disable-gpu-driver-bug-workarounds", "--enable-smooth-scrolling"]) -print(os.path.dirname(__file__) + os.pathsep) - -try: - from ctypes import windll - myappid = 'prayag17.jellyplayer.0.1.0' - windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid) -except ImportError: - pass - -storage = localStoragePy('prayag.jellyplayer.app', 'sqlite') - -def restart(): - QApplication.quit() - status = QProcess.startDetached(sys.executable, sys.argv) - -class Backend(QObject): - @Slot(result=str) - def onStartup(self): - if storage.getItem("serverGo") == "True": - try: - ping = requests.get(f"{storage.getItem('server')}/System/Ping") - if ping.content == b'"Jellyfin Server"': - if storage.getItem("openHome") == "True": - return "openHomeTrue" - else: - return "serverGoTrue" - except: - - return "serverOffline" - else: - return "serverGoFalse" - - @Slot(result=list) - def getAuthinfo(self): - return [storage.getItem("UserName"), storage.getItem("UserPw")] - - @Slot(str, result=bool) - def saveServer(self, data): - ping = requests.get(f"{data}/System/Ping") - if ping.content == b'"Jellyfin Server"': - storage.setItem('server', data) - storage.setItem("serverGo", True) - return True - else: - storage.setItem("serverGo", False) - return False - - @Slot(str, result=bool) - def getValuesFromDatabaseBool(self, object): - print(f"Object: {object}") - item = storage.getItem(object) - print(item) - if item == "True": - return True - elif item == "False": - return False - - @Slot(str, result=str) - def getValuesFromDatabaseStr(self, object): - print(f"Object: {object}") - item = storage.getItem(object) - print(item) - return item - - @Slot(str, str) - def setAuthInfoDatabase(self, userName, Pw): - print(f"User: {userName}, Password: {Pw}") - storage.setItem("UserName", userName) - storage.setItem("UserPw", Pw) - storage.setItem("openHome", True) - - @Slot() - def clearStorage(self): - storage.clear() - restart() - - @Slot() - def restart(self): - QApplication.quit() - status = QProcess.startDetached(sys.executable, sys.argv) - - @Slot(str) - def launchPlayer(self, videoUrl): - import locale - locale.setlocale(locale.LC_NUMERIC, 'C') - playerwindow = PlayerWindow(videoUrl) - window.hide() - playerwindow.showMaximized() - -class MainWin(): - def __init__(self): - super().__init__(); - self.dirRaw = os.path.dirname(os.path.realpath(__file__)) - self.dir = self.dirRaw.replace("\\","/") - self.view= QQmlApplicationEngine() - - app.setWindowIcon(QIcon(QPixmap("./assets/icon.png"))) - self.view.load(QUrl.fromLocalFile(f"{self.dir}/mainWindow.qml")) - - self.backend = Backend() - self.channel = QWebChannel() - self.channel.registerObject('backend', self.backend) - - def createPlayer(self, videoUrl): - self.container = QWidget(self) - self.setCentralWidget(self.container) - self.container.setAttribute(Qt.WA_DontCreateNativeAncestors) - self.container.setAttribute(Qt.WA_NativeWindow) - player = mpv.MPV(wid=str(int(self.container.winId())), - gpu_context="d3d11", - hwdec="nvdec", - log_handler=print, - loglevel='debug') - player.play(videoUrl) - -class PlayerWindow(QMainWindow): - def __init__(self,videoUrl): - super().__init__() - - - -frontendProcess = subprocess.Popen(f'{sys.executable} {os.path.dirname(__file__)}/JellyPlayer-FrontEnd/frontend/dist/server.py', shell=True) -window = MainWin() - -print(window.dir) -exitApp = app.exec() -os.kill(frontendProcess.pid, 0) -sys.exit(exitApp) \ No newline at end of file diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..88ca2c5 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,525 @@ +[[package]] +name = "altgraph" +version = "0.17.2" +description = "Python graph (network) package" +category = "main" +optional = false +python-versions = "*" + +[[package]] +name = "atomicwrites" +version = "1.4.0" +description = "Atomic file writes." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "attrs" +version = "21.4.0" +description = "Classes Without Boilerplate" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[package.extras] +dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit", "cloudpickle"] +docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"] +tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "cloudpickle"] +tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "cloudpickle"] + +[[package]] +name = "click" +version = "8.1.3" +description = "Composable command line interface toolkit" +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +colorama = {version = "*", markers = "platform_system == \"Windows\""} + +[[package]] +name = "colorama" +version = "0.4.4" +description = "Cross-platform colored terminal text." +category = "main" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "flask" +version = "2.1.2" +description = "A simple framework for building complex web applications." +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +click = ">=8.0" +importlib-metadata = {version = ">=3.6.0", markers = "python_version < \"3.10\""} +itsdangerous = ">=2.0" +Jinja2 = ">=3.0" +Werkzeug = ">=2.0" + +[package.extras] +async = ["asgiref (>=3.2)"] +dotenv = ["python-dotenv"] + +[[package]] +name = "future" +version = "0.18.2" +description = "Clean single-source support for Python 3 and 2" +category = "main" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "importlib-metadata" +version = "4.11.3" +description = "Read metadata from Python packages" +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +zipp = ">=0.5" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=9)", "rst.linker (>=1.9)"] +perf = ["ipython"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "packaging", "pyfakefs", "flufl.flake8", "pytest-perf (>=0.9.2)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)", "importlib-resources (>=1.3)"] + +[[package]] +name = "itsdangerous" +version = "2.1.2" +description = "Safely pass data to untrusted environments and back." +category = "main" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "jinja2" +version = "3.1.2" +description = "A very fast and expressive template engine." +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +MarkupSafe = ">=2.0" + +[package.extras] +i18n = ["Babel (>=2.7)"] + +[[package]] +name = "macholib" +version = "1.16" +description = "Mach-O header analysis and editing" +category = "main" +optional = false +python-versions = "*" + +[package.dependencies] +altgraph = ">=0.15" + +[[package]] +name = "markupsafe" +version = "2.1.1" +description = "Safely add untrusted strings to HTML/XML markup." +category = "main" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "more-itertools" +version = "8.12.0" +description = "More routines for operating on iterables, beyond itertools" +category = "dev" +optional = false +python-versions = ">=3.5" + +[[package]] +name = "packaging" +version = "21.3" +description = "Core utilities for Python packages" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" + +[[package]] +name = "pefile" +version = "2021.9.3" +description = "Python PE parsing module" +category = "main" +optional = false +python-versions = ">=3.6.0" + +[package.dependencies] +future = "*" + +[[package]] +name = "pluggy" +version = "0.13.1" +description = "plugin and hook calling mechanisms for python" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[package.extras] +dev = ["pre-commit", "tox"] + +[[package]] +name = "py" +version = "1.11.0" +description = "library with cross-python path, ini-parsing, io, code, log facilities" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "pyinstaller" +version = "5.0.1" +description = "PyInstaller bundles a Python application and all its dependencies into a single package." +category = "main" +optional = false +python-versions = "<3.11,>=3.7" + +[package.dependencies] +altgraph = "*" +macholib = {version = ">=1.8", markers = "sys_platform == \"darwin\""} +pefile = {version = ">=2017.8.1", markers = "sys_platform == \"win32\""} +pyinstaller-hooks-contrib = ">=2020.6" +pywin32-ctypes = {version = ">=0.2.0", markers = "sys_platform == \"win32\""} + +[package.extras] +encryption = ["tinyaes (>=1.0.0)"] +hook_testing = ["pytest (>=2.7.3)", "execnet (>=1.5.0)", "psutil"] + +[[package]] +name = "pyinstaller-hooks-contrib" +version = "2022.4" +description = "Community maintained hooks for PyInstaller" +category = "main" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "pyparsing" +version = "3.0.8" +description = "pyparsing module - Classes and methods to define and execute parsing grammars" +category = "dev" +optional = false +python-versions = ">=3.6.8" + +[package.extras] +diagrams = ["railroad-diagrams", "jinja2"] + +[[package]] +name = "pyside6" +version = "6.3.0" +description = "Python bindings for the Qt cross-platform application and UI framework" +category = "main" +optional = false +python-versions = "<3.11,>=3.6" + +[package.dependencies] +PySide6-Addons = "6.3.0" +PySide6-Essentials = "6.3.0" +shiboken6 = "6.3.0" + +[[package]] +name = "pyside6-addons" +version = "6.3.0" +description = "Python bindings for the Qt cross-platform application and UI framework (Addons)" +category = "main" +optional = false +python-versions = "<3.11,>=3.6" + +[package.dependencies] +PySide6-Essentials = "6.3.0" +shiboken6 = "6.3.0" + +[[package]] +name = "pyside6-essentials" +version = "6.3.0" +description = "Python bindings for the Qt cross-platform application and UI framework (Essentials)" +category = "main" +optional = false +python-versions = "<3.11,>=3.6" + +[package.dependencies] +shiboken6 = "6.3.0" + +[[package]] +name = "pytest" +version = "5.2.4" +description = "pytest: simple powerful testing with Python" +category = "dev" +optional = false +python-versions = ">=3.5" + +[package.dependencies] +atomicwrites = ">=1.0" +attrs = ">=17.4.0" +colorama = {version = "*", markers = "sys_platform == \"win32\""} +more-itertools = ">=4.0.0" +packaging = "*" +pluggy = ">=0.12,<1.0" +py = ">=1.5.0" +wcwidth = "*" + +[package.extras] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] + +[[package]] +name = "python-mpv" +version = "1.0.1" +description = "A python interface to the mpv media player" +category = "main" +optional = false +python-versions = ">=3.7" + +[package.extras] +screenshot_raw = ["pillow"] + +[[package]] +name = "pywin32-ctypes" +version = "0.2.0" +description = "" +category = "main" +optional = false +python-versions = "*" + +[[package]] +name = "shiboken6" +version = "6.3.0" +description = "Python/C++ bindings helper module" +category = "main" +optional = false +python-versions = "<3.11,>=3.6" + +[[package]] +name = "waitress" +version = "2.1.1" +description = "Waitress WSGI server" +category = "main" +optional = false +python-versions = ">=3.7.0" + +[package.extras] +docs = ["Sphinx (>=1.8.1)", "docutils", "pylons-sphinx-themes (>=1.0.9)"] +testing = ["pytest", "pytest-cover", "coverage (>=5.0)"] + +[[package]] +name = "wcwidth" +version = "0.2.5" +description = "Measures the displayed width of unicode strings in a terminal" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "werkzeug" +version = "2.1.2" +description = "The comprehensive WSGI web application library." +category = "main" +optional = false +python-versions = ">=3.7" + +[package.extras] +watchdog = ["watchdog"] + +[[package]] +name = "zipp" +version = "3.8.0" +description = "Backport of pathlib-compatible object wrapper for zip files" +category = "main" +optional = false +python-versions = ">=3.7" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=9)", "rst.linker (>=1.9)"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)"] + +[metadata] +lock-version = "1.1" +python-versions = "~3.9" +content-hash = "01d083ecf4c046d564faac5a278a676466c2af454be4303e8408333ab073e5a1" + +[metadata.files] +altgraph = [ + {file = "altgraph-0.17.2-py2.py3-none-any.whl", hash = "sha256:743628f2ac6a7c26f5d9223c91ed8ecbba535f506f4b6f558885a8a56a105857"}, + {file = "altgraph-0.17.2.tar.gz", hash = "sha256:ebf2269361b47d97b3b88e696439f6e4cbc607c17c51feb1754f90fb79839158"}, +] +atomicwrites = [ + {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, + {file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"}, +] +attrs = [ + {file = "attrs-21.4.0-py2.py3-none-any.whl", hash = "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4"}, + {file = "attrs-21.4.0.tar.gz", hash = "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd"}, +] +click = [ + {file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"}, + {file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"}, +] +colorama = [ + {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, + {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, +] +flask = [ + {file = "Flask-2.1.2-py3-none-any.whl", hash = "sha256:fad5b446feb0d6db6aec0c3184d16a8c1f6c3e464b511649c8918a9be100b4fe"}, + {file = "Flask-2.1.2.tar.gz", hash = "sha256:315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477"}, +] +future = [ + {file = "future-0.18.2.tar.gz", hash = "sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d"}, +] +importlib-metadata = [ + {file = "importlib_metadata-4.11.3-py3-none-any.whl", hash = "sha256:1208431ca90a8cca1a6b8af391bb53c1a2db74e5d1cef6ddced95d4b2062edc6"}, + {file = "importlib_metadata-4.11.3.tar.gz", hash = "sha256:ea4c597ebf37142f827b8f39299579e31685c31d3a438b59f469406afd0f2539"}, +] +itsdangerous = [ + {file = "itsdangerous-2.1.2-py3-none-any.whl", hash = "sha256:2c2349112351b88699d8d4b6b075022c0808887cb7ad10069318a8b0bc88db44"}, + {file = "itsdangerous-2.1.2.tar.gz", hash = "sha256:5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a"}, +] +jinja2 = [ + {file = "Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"}, + {file = "Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"}, +] +macholib = [ + {file = "macholib-1.16-py2.py3-none-any.whl", hash = "sha256:5a0742b587e6e57bfade1ab90651d4877185bf66fd4a176a488116de36878229"}, + {file = "macholib-1.16.tar.gz", hash = "sha256:001bf281279b986a66d7821790d734e61150d52f40c080899df8fefae056e9f7"}, +] +markupsafe = [ + {file = "MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:86b1f75c4e7c2ac2ccdaec2b9022845dbb81880ca318bb7a0a01fbf7813e3812"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f121a1420d4e173a5d96e47e9a0c0dcff965afdf1626d28de1460815f7c4ee7a"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a49907dd8420c5685cfa064a1335b6754b74541bbb3706c259c02ed65b644b3e"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10c1bfff05d95783da83491be968e8fe789263689c02724e0c691933c52994f5"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b7bd98b796e2b6553da7225aeb61f447f80a1ca64f41d83612e6139ca5213aa4"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b09bf97215625a311f669476f44b8b318b075847b49316d3e28c08e41a7a573f"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:694deca8d702d5db21ec83983ce0bb4b26a578e71fbdbd4fdcd387daa90e4d5e"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:efc1913fd2ca4f334418481c7e595c00aad186563bbc1ec76067848c7ca0a933"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-win32.whl", hash = "sha256:4a33dea2b688b3190ee12bd7cfa29d39c9ed176bda40bfa11099a3ce5d3a7ac6"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:dda30ba7e87fbbb7eab1ec9f58678558fd9a6b8b853530e176eabd064da81417"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:671cd1187ed5e62818414afe79ed29da836dde67166a9fac6d435873c44fdd02"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3799351e2336dc91ea70b034983ee71cf2f9533cdff7c14c90ea126bfd95d65a"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e72591e9ecd94d7feb70c1cbd7be7b3ebea3f548870aa91e2732960fa4d57a37"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6fbf47b5d3728c6aea2abb0589b5d30459e369baa772e0f37a0320185e87c980"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d5ee4f386140395a2c818d149221149c54849dfcfcb9f1debfe07a8b8bd63f9a"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:bcb3ed405ed3222f9904899563d6fc492ff75cce56cba05e32eff40e6acbeaa3"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e1c0b87e09fa55a220f058d1d49d3fb8df88fbfab58558f1198e08c1e1de842a"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-win32.whl", hash = "sha256:8dc1c72a69aa7e082593c4a203dcf94ddb74bb5c8a731e4e1eb68d031e8498ff"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-win_amd64.whl", hash = "sha256:97a68e6ada378df82bc9f16b800ab77cbf4b2fada0081794318520138c088e4a"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-win32.whl", hash = "sha256:421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl", hash = "sha256:fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e04e26803c9c3851c931eac40c695602c6295b8d432cbe78609649ad9bd2da8a"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b87db4360013327109564f0e591bd2a3b318547bcef31b468a92ee504d07ae4f"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:99a2a507ed3ac881b975a2976d59f38c19386d128e7a9a18b7df6fff1fd4c1d6"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56442863ed2b06d19c37f94d999035e15ee982988920e12a5b4ba29b62ad1f77"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3ce11ee3f23f79dbd06fb3d63e2f6af7b12db1d46932fe7bd8afa259a5996603"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:33b74d289bd2f5e527beadcaa3f401e0df0a89927c1559c8566c066fa4248ab7"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:43093fb83d8343aac0b1baa75516da6092f58f41200907ef92448ecab8825135"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8e3dcf21f367459434c18e71b2a9532d96547aef8a871872a5bd69a715c15f96"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-win32.whl", hash = "sha256:d4306c36ca495956b6d568d276ac11fdd9c30a36f1b6eb928070dc5360b22e1c"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-win_amd64.whl", hash = "sha256:46d00d6cfecdde84d40e572d63735ef81423ad31184100411e6e3388d405e247"}, + {file = "MarkupSafe-2.1.1.tar.gz", hash = "sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b"}, +] +more-itertools = [ + {file = "more-itertools-8.12.0.tar.gz", hash = "sha256:7dc6ad46f05f545f900dd59e8dfb4e84a4827b97b3cfecb175ea0c7d247f6064"}, + {file = "more_itertools-8.12.0-py3-none-any.whl", hash = "sha256:43e6dd9942dffd72661a2c4ef383ad7da1e6a3e968a927ad7a6083ab410a688b"}, +] +packaging = [ + {file = "packaging-21.3-py3-none-any.whl", hash = "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"}, + {file = "packaging-21.3.tar.gz", hash = "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb"}, +] +pefile = [ + {file = "pefile-2021.9.3.tar.gz", hash = "sha256:344a49e40a94e10849f0fe34dddc80f773a12b40675bf2f7be4b8be578bdd94a"}, +] +pluggy = [ + {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, + {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"}, +] +py = [ + {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, + {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, +] +pyinstaller = [ + {file = "pyinstaller-5.0.1-py3-none-macosx_10_13_universal2.whl", hash = "sha256:0dc19ccf97584fff1766dcaf9c0425e4cd714ccc41c9f4d1222cab8c756624e4"}, + {file = "pyinstaller-5.0.1-py3-none-manylinux2014_aarch64.whl", hash = "sha256:100ba42f5885e1044e45a9a1d6fa9bb17be49d8731a34ebde39519a49095d509"}, + {file = "pyinstaller-5.0.1-py3-none-manylinux2014_i686.whl", hash = "sha256:943d22969ad7487ff430810e733f06e6efddc1af1cbe6453ec44dffc39f3a1f5"}, + {file = "pyinstaller-5.0.1-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:7b4fa281373676728e503447e5eb2a101208d0d41be62b540dcfbe073e26e60f"}, + {file = "pyinstaller-5.0.1-py3-none-manylinux2014_s390x.whl", hash = "sha256:a7698ca54b1afc5ff0ef0a881fa68a878e3f12e7f1a3bade9bf198af34d15222"}, + {file = "pyinstaller-5.0.1-py3-none-manylinux2014_x86_64.whl", hash = "sha256:d8384871a2e6605b49ef3293aa8b365bbdfe9aac6ff80e3743e5fe4cbd46fa62"}, + {file = "pyinstaller-5.0.1-py3-none-musllinux_1_1_aarch64.whl", hash = "sha256:d3a587f5adb28e299781d99d6e781e3d240f6f5ecaad5b5f484ea196801476f6"}, + {file = "pyinstaller-5.0.1-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:219e249c2bbd2ec77ba008adbc46832ddd761554167bf5f9c86e861f8ddd4589"}, + {file = "pyinstaller-5.0.1-py3-none-win32.whl", hash = "sha256:3ac6f8bfe65666650bf37671d6661775692b33711a7c5e664ac5bb577100f120"}, + {file = "pyinstaller-5.0.1-py3-none-win_amd64.whl", hash = "sha256:bf6148a6eb005e1106d57271681cd7799b56f7b41efa6c78ce4d375fc1cd829e"}, + {file = "pyinstaller-5.0.1.tar.gz", hash = "sha256:25f5f758b005c66471af0d452c90ec328179116afe9d5bd82f5fb06d9416267b"}, +] +pyinstaller-hooks-contrib = [ + {file = "pyinstaller-hooks-contrib-2022.4.tar.gz", hash = "sha256:b7f7da20e5b83c22219a21b8f849525e5f735197975313208f4e07ff9549cdaf"}, + {file = "pyinstaller_hooks_contrib-2022.4-py2.py3-none-any.whl", hash = "sha256:b57a90bb8520d6e1dbbaaae416875e28fa5a3b74d2e40e330d02d1ccadacc38c"}, +] +pyparsing = [ + {file = "pyparsing-3.0.8-py3-none-any.whl", hash = "sha256:ef7b523f6356f763771559412c0d7134753f037822dad1b16945b7b846f7ad06"}, + {file = "pyparsing-3.0.8.tar.gz", hash = "sha256:7bf433498c016c4314268d95df76c81b842a4cb2b276fa3312cfb1e1d85f6954"}, +] +pyside6 = [ + {file = "PySide6-6.3.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:2517377c49b5d5c66afc51dab02814d76af1fc7545bf6b76b3d1de86ce9a4507"}, + {file = "PySide6-6.3.0-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:53d61ff66bb81a099e71e43e7470060a9141a8e6782d6eb6cc52b9a9cf38730c"}, + {file = "PySide6-6.3.0-cp36-abi3-win_amd64.whl", hash = "sha256:c2368a0f346935167bf741712772b63dee130b29a9270e018cf9474eef1948a0"}, +] +pyside6-addons = [ + {file = "PySide6_Addons-6.3.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:4937fc42aec85d5dde62b2d47e29d76a63722d2a0d72e11772baa3e9925bf234"}, + {file = "PySide6_Addons-6.3.0-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:59e96866abbe468087575b63a697c4b1cc97e65f20874d26d8f0d10f5c8c8728"}, + {file = "PySide6_Addons-6.3.0-cp36-abi3-win_amd64.whl", hash = "sha256:143228bde402426df9d2b97ac4d8de8e97b7c8d51c76362bcd439dc9e2ab3e86"}, +] +pyside6-essentials = [ + {file = "PySide6_Essentials-6.3.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:1c2a2a2b26fc923b3527907462ae5828b7e50a2c0fcf9923b086781af3911060"}, + {file = "PySide6_Essentials-6.3.0-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:a486abe04be6270da798eae9c78b40f605008f19d5d9c880b1683783c715882d"}, + {file = "PySide6_Essentials-6.3.0-cp36-abi3-win_amd64.whl", hash = "sha256:7304353ab13cc9b5b0a86b3487f24b133a68c5b8c1312516510c0d49469f80d8"}, +] +pytest = [ + {file = "pytest-5.2.4-py3-none-any.whl", hash = "sha256:8e256fe71eb74e14a4d20a5987bb5e1488f0511ee800680aaedc62b9358714e8"}, + {file = "pytest-5.2.4.tar.gz", hash = "sha256:ff0090819f669aaa0284d0f4aad1a6d9d67a6efdc6dd4eb4ac56b704f890a0d6"}, +] +python-mpv = [ + {file = "python-mpv-1.0.1.tar.gz", hash = "sha256:4c5cc55df484232827ebfa9e498e8370698c6bf7283ba6b1e0329cc42f3aeb8e"}, +] +pywin32-ctypes = [ + {file = "pywin32-ctypes-0.2.0.tar.gz", hash = "sha256:24ffc3b341d457d48e8922352130cf2644024a4ff09762a2261fd34c36ee5942"}, + {file = "pywin32_ctypes-0.2.0-py2.py3-none-any.whl", hash = "sha256:9dc2d991b3479cc2df15930958b674a48a227d5361d413827a4cfd0b5876fc98"}, +] +shiboken6 = [ + {file = "shiboken6-6.3.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:ead1cee2fea2566321e725a50070c40a9e67aaa015a20a84a39a9e72ff9b426e"}, + {file = "shiboken6-6.3.0-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:e68e3cbb595c3047c4d893b84ef88eb5b23dea4e94241e80f5509dcb6613ad3d"}, + {file = "shiboken6-6.3.0-cp36-abi3-win_amd64.whl", hash = "sha256:096e6b2254e59729ae61acbb80d09c31ad7ea35b6624ec120c15a35b95c70b69"}, +] +waitress = [ + {file = "waitress-2.1.1-py3-none-any.whl", hash = "sha256:c549f5b2b4afd44d9d97d7cec79f3ef581e25d832827f415dc175327af674aa8"}, + {file = "waitress-2.1.1.tar.gz", hash = "sha256:e2e60576cf14a1539da79f7b7ee1e79a71e64f366a0b47db54a15e971f57bb16"}, +] +wcwidth = [ + {file = "wcwidth-0.2.5-py2.py3-none-any.whl", hash = "sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784"}, + {file = "wcwidth-0.2.5.tar.gz", hash = "sha256:c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83"}, +] +werkzeug = [ + {file = "Werkzeug-2.1.2-py3-none-any.whl", hash = "sha256:72a4b735692dd3135217911cbeaa1be5fa3f62bffb8745c5215420a03dc55255"}, + {file = "Werkzeug-2.1.2.tar.gz", hash = "sha256:1ce08e8093ed67d638d63879fd1ba3735817f7a80de3674d293f5984f25fb6e6"}, +] +zipp = [ + {file = "zipp-3.8.0-py3-none-any.whl", hash = "sha256:c4f6e5bbf48e74f7a38e7cc5b0480ff42b0ae5178957d564d18932525d5cf099"}, + {file = "zipp-3.8.0.tar.gz", hash = "sha256:56bf8aadb83c24db6c4b577e13de374ccfb67da2078beba1d037c17980bf43ad"}, +] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9492470 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,29 @@ +[tool.poetry] +name = "JellyPlayer" +version = "0.1.0" +description = "Modern Jellyfin Client made with Python and Vue" +authors = ["Prayag "] +license = "GPL-3.0-only" +readme = "README.md" +repository = "git@github.com:prayag17/JellyPlayer.git" +keywords = [ + "pyside6", + "python", + "jellyfin", + "vue" +] + +[tool.poetry.dependencies] +python = "~3.9" +PySide6 = "^6.3.0" +Flask = "^2.1.2" +waitress = "^2.1.1" +python-mpv = "^1.0.1" +pyinstaller = "^5.0.1" + +[tool.poetry.dev-dependencies] +pytest = "~5.2" + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index f93992f..0000000 --- a/requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ ---extra-index-url https://download.qt.io/official_releases/QtForPython/split-wheels/ -localStoragePy==0.2.3 -requests==2.27.1 -pyinstaller==4.10 -pyside6==6.3.0 -flask==2.1.1 -waitress==2.1.1 -python-mpv==1.0.1 \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_jellyplayer.py b/tests/test_jellyplayer.py new file mode 100644 index 0000000..b8bbc45 --- /dev/null +++ b/tests/test_jellyplayer.py @@ -0,0 +1,5 @@ +from jellyplayer import __version__ + + +def test_version(): + assert __version__ == '0.1.0'