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 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 required files exist
66
- required_files = ["calculator_core.py", "api.py"]
67
- missing_files = []
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
- files_str = ", ".join(missing_files)
78
- messagebox.showerror("Missing Files",
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: corally
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: A comprehensive calculator suite with GUI and API support
5
5
  Home-page: https://github.com/yourusername/corally
6
6
  Author: Corally Team
@@ -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=nTIF4pxIOyAxTwTIRwCT59CjGD50FvEstgWFzEh4nFk,3953
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.0.dist-info/licenses/LICENSE,sha256=MKGM14MQzrnYZTWSHIMu7vWKuqsJXJenoEgWB13aZyg,1069
15
- corally-1.0.0.dist-info/METADATA,sha256=Rj-ICJpVEw41vbfzh0fPXDQ3jR_p6NLT-VbSUG9t01A,6564
16
- corally-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- corally-1.0.0.dist-info/entry_points.txt,sha256=iujKCtIJ8NP1y0hHvSiCGFXntjVsb1U4Ru4p68WiA10,206
18
- corally-1.0.0.dist-info/top_level.txt,sha256=_MVFg963_bFpH5c6s_BJJwLIV67_cqSZ9rnk3-D4hvU,8
19
- corally-1.0.0.dist-info/RECORD,,
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,,