1
0
Fork 0
mirror of synced 2024-05-16 02:22:57 +12:00

Added psutil in setup.py, some small changes

This commit is contained in:
Dummerle 2021-04-11 17:21:39 +02:00
parent 71cdb54b38
commit 192487ea0d
4 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,3 @@
include README.md
include rare/languages/de.qm
include rare/languages/*.qm
include rare/styles/*

View file

@ -1,5 +1,5 @@
import os
__version__ = "1.0"
__version__ = "1.0.0"
style_path = os.path.join(os.path.dirname(__file__), "styles/")
lang_path = os.path.join(os.path.dirname(__file__), "languages/")

View file

@ -1,12 +1,12 @@
from PyQt5.QtCore import QCoreApplication
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QSystemTrayIcon, QMenu, QAction
from qtawesome import icon
from rare import style_path
class TrayIcon(QSystemTrayIcon):
def __init__(self, parent):
super(TrayIcon, self).__init__(parent)
self.setIcon(icon("fa.gamepad", color="white")) # TODO change icon to logo
self.setIcon(QIcon(style_path+"Logo.png"))
self.setVisible(True)
self.setToolTip("Rare")

View file

@ -33,5 +33,6 @@ setuptools.setup(
"PyQt5",
"QtAwesome",
"notify-py",
"psutil"
],
)