corally 1.0.0__py3-none-any.whl → 1.0.1__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.
- corally/gui/launcher.py +7 -15
- {corally-1.0.0.dist-info → corally-1.0.1.dist-info}/METADATA +1 -1
- {corally-1.0.0.dist-info → corally-1.0.1.dist-info}/RECORD +7 -7
- {corally-1.0.0.dist-info → corally-1.0.1.dist-info}/WHEEL +0 -0
- {corally-1.0.0.dist-info → corally-1.0.1.dist-info}/entry_points.txt +0 -0
- {corally-1.0.0.dist-info → corally-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {corally-1.0.0.dist-info → corally-1.0.1.dist-info}/top_level.txt +0 -0
corally/gui/launcher.py
CHANGED
@@ -7,7 +7,6 @@ Modern replacement for Hauptprogramm.py
|
|
7
7
|
import tkinter as tk
|
8
8
|
from tkinter import messagebox
|
9
9
|
import sys
|
10
|
-
import os
|
11
10
|
|
12
11
|
def check_dependencies():
|
13
12
|
"""Check if all required dependencies are available"""
|
@@ -62,22 +61,15 @@ def main():
|
|
62
61
|
# Check dependencies first
|
63
62
|
check_dependencies()
|
64
63
|
|
65
|
-
# Check if
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
for file in required_files:
|
70
|
-
if not os.path.exists(file):
|
71
|
-
missing_files.append(file)
|
72
|
-
|
73
|
-
if missing_files:
|
64
|
+
# Check if core modules can be imported
|
65
|
+
try:
|
66
|
+
from ..core import CalculatorCore, CurrencyConverter, InterestCalculator
|
67
|
+
except ImportError as e:
|
74
68
|
root = tk.Tk()
|
75
69
|
root.withdraw()
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
f"Required files not found: {files_str}\n\n"
|
80
|
-
f"Please make sure all calculator files are in the same directory.")
|
70
|
+
messagebox.showerror("Import Error",
|
71
|
+
f"Failed to import core calculator modules: {str(e)}\n\n"
|
72
|
+
f"Please make sure the corally package is properly installed.")
|
81
73
|
root.destroy()
|
82
74
|
sys.exit(1)
|
83
75
|
|
@@ -9,11 +9,11 @@ corally/cli/main.py,sha256=h71eozQ5_tqQ1_j6VYm9KvNhVrOFr1z6Of-Gheqh9ng,6442
|
|
9
9
|
corally/core/__init__.py,sha256=vDmg7_-QKYxJJmLODQQX4IFEZXYgiwWPxLnJ_42p3lQ,215
|
10
10
|
corally/core/calculator.py,sha256=d-zBYWxHveiI7IuKR15E6phLOQDqXLC71QV2-fzt-AE,13113
|
11
11
|
corally/gui/__init__.py,sha256=55yCCiVxFneCTTTA7Jf6YDOAtrLduJLtBhahdxCC-RM,182
|
12
|
-
corally/gui/launcher.py,sha256=
|
12
|
+
corally/gui/launcher.py,sha256=Ddl8dsWjSboww3-kbwofTR5U-R-xMHmFhky-emFn-ug,3809
|
13
13
|
corally/gui/main.py,sha256=IhIYuyrazgTalo_YwLnvj3vEKmG0jkX9ubuagb9fKFM,37660
|
14
|
-
corally-1.0.
|
15
|
-
corally-1.0.
|
16
|
-
corally-1.0.
|
17
|
-
corally-1.0.
|
18
|
-
corally-1.0.
|
19
|
-
corally-1.0.
|
14
|
+
corally-1.0.1.dist-info/licenses/LICENSE,sha256=MKGM14MQzrnYZTWSHIMu7vWKuqsJXJenoEgWB13aZyg,1069
|
15
|
+
corally-1.0.1.dist-info/METADATA,sha256=W_dx4y3HGiBOFu5LmbwXmMpZI4zLbqKvJphEOZyt--U,6564
|
16
|
+
corally-1.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
17
|
+
corally-1.0.1.dist-info/entry_points.txt,sha256=iujKCtIJ8NP1y0hHvSiCGFXntjVsb1U4Ru4p68WiA10,206
|
18
|
+
corally-1.0.1.dist-info/top_level.txt,sha256=_MVFg963_bFpH5c6s_BJJwLIV67_cqSZ9rnk3-D4hvU,8
|
19
|
+
corally-1.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|