Skip to content

Commit ac303fe

Browse files
committed
fix: add setup.py and root conftest.py for test discovery
- Add minimal setup.py for tools that still require it - Add root conftest.py to ensure src is on Python path - This should resolve any remaining package discovery issues
1 parent 90938de commit ac303fe

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"""Root conftest.py to ensure proper test configuration."""
2+
import sys
3+
from pathlib import Path
4+
5+
# Add src to Python path for test discovery
6+
src_path = Path(__file__).parent / "src"
7+
if str(src_path) not in sys.path:
8+
sys.path.insert(0, str(src_path))

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""Minimal setup.py for compatibility with tools that require it."""
2+
from setuptools import setup
3+
4+
setup()

0 commit comments

Comments
 (0)