From d77e9a57d677ba3ab8639dc50256c4db2b6d424a Mon Sep 17 00:00:00 2001 From: Michael Mouchous Date: Mon, 11 Mar 2024 11:03:45 +0100 Subject: [PATCH] Update to PyQt6 in documentation and requirements --- README.md | 3 ++- pyproject.toml | 5 +++-- pystages/gui/__main__.py | 1 - requirements.txt | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d7dc1bd..1415f6e 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,5 @@ Documentation is available on [Read the Docs](https://pystages.readthedocs.io). This library requires the following packages: - [pyserial](https://pypi.org/project/pyserial/) - [numpy](https://pypi.org/project/numpy/) -- [pyusb](https://pypi.org/project/pyusb/) \ No newline at end of file +- [pyusb](https://pypi.org/project/pyusb/) +- [PyQt6](https://pypi.org/project/PyQt6/) \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 9b5b183..89a1dab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,10 +20,11 @@ classifiers = [ dependencies = [ "pyserial", "pyusb", - "numpy" + "numpy", + "pyqt6" ] [project.urls] "Homepage" = "https://github.com/Ledger-Donjon/pystages" "Bug Tracker" = "https://github.com/Ledger-Donjon/pystages/issues" -"Documentation" = "https://pystages.readthedocs.io/en/latest" \ No newline at end of file +"Documentation" = "https://pystages.readthedocs.io/en/latest" diff --git a/pystages/gui/__main__.py b/pystages/gui/__main__.py index b5d4ecf..6dbad8a 100644 --- a/pystages/gui/__main__.py +++ b/pystages/gui/__main__.py @@ -2,7 +2,6 @@ import sys from PyQt6.QtGui import QIcon, QPalette, QColor from .util import resource_path -import sys from .gui import StageWindow app = QApplication(sys.argv) diff --git a/requirements.txt b/requirements.txt index add796d..4a450cd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ pyserial pyusb numpy +pyqt6 \ No newline at end of file