8 lines
232 B
Python
8 lines
232 B
Python
|
|
import sys
|
||
|
|
from pathlib import Path
|
||
|
|
|
||
|
|
# Add project root to sys.path so `nautilus_dolphin` package is importable
|
||
|
|
_ROOT = Path(__file__).resolve().parent.parent
|
||
|
|
if str(_ROOT) not in sys.path:
|
||
|
|
sys.path.insert(0, str(_ROOT))
|