From 0fcacf7d367b8e047f55e2fd97883cb40ef103b4 Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Sun, 7 Mar 2021 11:48:09 +0100 Subject: [PATCH] [resources] --- blipblop/constants.py | 2 ++ blipblop/ui/mainwindow.py | 1 - resources.qrc | 6 +++++- setup.py | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/blipblop/constants.py b/blipblop/constants.py index e5390b9..10b6dfd 100644 --- a/blipblop/constants.py +++ b/blipblop/constants.py @@ -4,6 +4,8 @@ from PyQt5.QtGui import QIcon from PyQt5.QtMultimedia import QMediaContent from PyQt5.QtCore import QUrl +import resources + organization = "neuroetho.uni-tuebingen.de" application = "blipblop" version = 0.1 diff --git a/blipblop/ui/mainwindow.py b/blipblop/ui/mainwindow.py index 8402cbb..38d995b 100644 --- a/blipblop/ui/mainwindow.py +++ b/blipblop/ui/mainwindow.py @@ -2,7 +2,6 @@ from PyQt5.QtWidgets import QWidget, QMainWindow, QMenuBar, QToolBar, QAction, Q from PyQt5.QtGui import QIcon, QKeySequence from PyQt5.QtCore import QSize, Qt -import resources as res import blipblop.constants as cnst from blipblop.ui.help import HelpDialog from blipblop.ui.about import AboutDialog diff --git a/resources.qrc b/resources.qrc index ecc2617..9f198f3 100644 --- a/resources.qrc +++ b/resources.qrc @@ -15,7 +15,11 @@ icons/new_session_large.png icons/blipblop_table.png icons/settings.png - + + + sounds/bell.wav + sounds/message.wav + sounds/complete.wav docs/index.md diff --git a/setup.py b/setup.py index e5874c9..5cd1a9e 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ packages = [ "blipblop", ] -install_req = ["PyQt5", "json", "os", "glob"] +install_req = ["PyQt5"] data_files = [("icons", glob.glob(os.path.join("icons", "*.png"))), ("icons", glob.glob(os.path.join("icons", "*.ic*"))),