corally 1.0.0__tar.gz → 1.0.1__tar.gz

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.
Files changed (34) hide show
  1. {corally-1.0.0/src/corally.egg-info → corally-1.0.1}/PKG-INFO +1 -1
  2. {corally-1.0.0 → corally-1.0.1}/pyproject.toml +1 -1
  3. {corally-1.0.0 → corally-1.0.1}/src/corally/gui/launcher.py +7 -15
  4. {corally-1.0.0 → corally-1.0.1/src/corally.egg-info}/PKG-INFO +1 -1
  5. {corally-1.0.0 → corally-1.0.1}/LICENSE +0 -0
  6. {corally-1.0.0 → corally-1.0.1}/MANIFEST.in +0 -0
  7. {corally-1.0.0 → corally-1.0.1}/README.md +0 -0
  8. {corally-1.0.0 → corally-1.0.1}/docs/QUICK_START_GUIDE.md +0 -0
  9. {corally-1.0.0 → corally-1.0.1}/docs/README.md +0 -0
  10. {corally-1.0.0 → corally-1.0.1}/setup.cfg +0 -0
  11. {corally-1.0.0 → corally-1.0.1}/setup.py +0 -0
  12. {corally-1.0.0 → corally-1.0.1}/src/corally/__init__.py +0 -0
  13. {corally-1.0.0 → corally-1.0.1}/src/corally/api/__init__.py +0 -0
  14. {corally-1.0.0 → corally-1.0.1}/src/corally/api/free_server.py +0 -0
  15. {corally-1.0.0 → corally-1.0.1}/src/corally/api/server.py +0 -0
  16. {corally-1.0.0 → corally-1.0.1}/src/corally/cli/__init__.py +0 -0
  17. {corally-1.0.0 → corally-1.0.1}/src/corally/cli/calculator.py +0 -0
  18. {corally-1.0.0 → corally-1.0.1}/src/corally/cli/currency.py +0 -0
  19. {corally-1.0.0 → corally-1.0.1}/src/corally/cli/main.py +0 -0
  20. {corally-1.0.0 → corally-1.0.1}/src/corally/core/__init__.py +0 -0
  21. {corally-1.0.0 → corally-1.0.1}/src/corally/core/calculator.py +0 -0
  22. {corally-1.0.0 → corally-1.0.1}/src/corally/gui/__init__.py +0 -0
  23. {corally-1.0.0 → corally-1.0.1}/src/corally/gui/main.py +0 -0
  24. {corally-1.0.0 → corally-1.0.1}/src/corally.egg-info/SOURCES.txt +0 -0
  25. {corally-1.0.0 → corally-1.0.1}/src/corally.egg-info/dependency_links.txt +0 -0
  26. {corally-1.0.0 → corally-1.0.1}/src/corally.egg-info/entry_points.txt +0 -0
  27. {corally-1.0.0 → corally-1.0.1}/src/corally.egg-info/not-zip-safe +0 -0
  28. {corally-1.0.0 → corally-1.0.1}/src/corally.egg-info/requires.txt +0 -0
  29. {corally-1.0.0 → corally-1.0.1}/src/corally.egg-info/top_level.txt +0 -0
  30. {corally-1.0.0 → corally-1.0.1}/tests/test_api.py +0 -0
  31. {corally-1.0.0 → corally-1.0.1}/tests/test_gui.py +0 -0
  32. {corally-1.0.0 → corally-1.0.1}/tests/test_gui_api_connection.py +0 -0
  33. {corally-1.0.0 → corally-1.0.1}/tests/test_gui_simple.py +0 -0
  34. {corally-1.0.0 → corally-1.0.1}/tests/test_stop_button.py +0 -0
@@ -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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "corally"
7
- version = "1.0.0"
7
+ version = "1.0.1"
8
8
  authors = [
9
9
  {name = "Corally Team", email = "fleermaxim@gmail.com"},
10
10
  ]
@@ -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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes