29 lines
621 B
Python
29 lines
621 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Mini Basic Manufacture App
|
|
A simple manufacturing application for small businesses
|
|
"""
|
|
|
|
import customtkinter as ctk
|
|
from tkinter import messagebox
|
|
import sys
|
|
import os
|
|
|
|
# Add the src directory to the path
|
|
sys.path.append(os.path.join(os.path.dirname(__file__), 'src'))
|
|
|
|
from src.app import ManufacturingApp
|
|
|
|
|
|
def main():
|
|
"""Main entry point for the application"""
|
|
try:
|
|
app = ManufacturingApp()
|
|
app.run()
|
|
except Exception as e:
|
|
messagebox.showerror("Error", f"Failed to start application: {str(e)}")
|
|
sys.exit(1)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main() |