Making it installabel package and switching to segmentation mode
This commit is contained in:
5
main.py
5
main.py
@@ -6,12 +6,13 @@ Main entry point for the application.
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Add src directory to path
|
||||
# Add src directory to path for development mode
|
||||
sys.path.insert(0, str(Path(__file__).parent))
|
||||
|
||||
from PySide6.QtWidgets import QApplication
|
||||
from PySide6.QtCore import Qt
|
||||
|
||||
from src import __version__
|
||||
from src.gui.main_window import MainWindow
|
||||
from src.utils.logger import setup_logging
|
||||
from src.utils.config_manager import ConfigManager
|
||||
@@ -37,7 +38,7 @@ def main():
|
||||
app = QApplication(sys.argv)
|
||||
app.setApplicationName("Microscopy Object Detection")
|
||||
app.setOrganizationName("MicroscopyLab")
|
||||
app.setApplicationVersion("1.0.0")
|
||||
app.setApplicationVersion(__version__)
|
||||
|
||||
# Set application style
|
||||
app.setStyle("Fusion")
|
||||
|
||||
Reference in New Issue
Block a user