1 2 3 4 5 6 7 8 9 10 11 12 13 14
import sys import subprocess import pathlib directory = str(pathlib.Path(__file__).parent.resolve()) def pytest_configure(config): subprocess.run([ sys.executable, "-m", "maturin", "develop", "-r"], cwd = directory)