From ca9e73c4976a491ae4f4fa9b49b9658f9ef904e7 Mon Sep 17 00:00:00 2001 From: jupfi Date: Sat, 8 Jul 2023 14:38:10 +0200 Subject: [PATCH] Simplified imports. --- pyproject.toml | 2 +- src/nqrduck_spectrometer/spectrometer.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e3b171c..2f4cbd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ dependencies = [ "matplotlib", - "pyqt5", + "pyqt6", "NQRduck", ] diff --git a/src/nqrduck_spectrometer/spectrometer.py b/src/nqrduck_spectrometer/spectrometer.py index 3fc47ba..4c10425 100644 --- a/src/nqrduck_spectrometer/spectrometer.py +++ b/src/nqrduck_spectrometer/spectrometer.py @@ -1,6 +1,6 @@ from nqrduck.module.module import Module -from nqrduck_spectrometer.model import SpectrometerModel -from nqrduck_spectrometer.view import SpectrometerView -from nqrduck_spectrometer.controller import SpectrometerController +from .model import SpectrometerModel +from .view import SpectrometerView +from .controller import SpectrometerController Spectrometer = Module(SpectrometerModel, SpectrometerView, SpectrometerController) \ No newline at end of file