fix: restructure src layout to proper package directory

Move src/__init__.py, detect.py, diagnose.py, extract_temp.py, utils/
into src/infrared_data/ to fix wheel package structure. Previously the
whl placed files at root instead of infrared_data/ directory, causing
ModuleNotFoundError on install.

Also update pyproject.toml packages.find config to use standard
src-layout discovery.
This commit is contained in:
SkyLi
2026-03-28 19:50:19 +08:00
parent 5099b483d3
commit 426143099a
8 changed files with 5 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Infrared Fault Detection Package
from .diagnose import FaultDiagnoser
from .detect import InfraredDetector
from .extract_temp import TempFeatureExtractor
__all__ = ['FaultDiagnoser', 'InfraredDetector', 'TempFeatureExtractor']