Files
Mastering-Python-2e-code_2/CH_18_packaging/T_01_pyproject_extensions/conftest.py
T
2022-05-05 18:25:55 +02:00

8 lines
185 B
Python

import sys
import pathlib
# Little hack to add the current directory to sys.path so we can
# find the imports
path = pathlib.Path(__file__).parent
sys.path.append(str(path.resolve()))