cabana 0.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
.DS_Store ADDED
Binary file
cabana/__init__.py ADDED
@@ -0,0 +1,4 @@
1
+ name = "cabana"
2
+
3
+ from .batch_processor import BatchProcessor
4
+ from .cabana import Cabana
cabana/__main__.py ADDED
@@ -0,0 +1,21 @@
1
+ from PyQt5.QtWidgets import QApplication
2
+ from PyQt5.QtGui import QIcon
3
+ from PyQt5.QtCore import Qt
4
+ import sys
5
+ from pathlib import Path
6
+ from .cabana_gui import MainWindow
7
+
8
+ def main():
9
+ # Enable High DPI display before creating QApplication
10
+ QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
11
+ QApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True)
12
+
13
+ app = QApplication(sys.argv)
14
+ window = MainWindow()
15
+ icon_path = Path(__file__).parent.parent / "cabana-logo.ico"
16
+ app.setWindowIcon(QIcon(str(icon_path)))
17
+ window.show()
18
+ sys.exit(app.exec_())
19
+
20
+ if __name__ == "__main__":
21
+ main()