Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
test command won't have dependencies on sys.path in subprocess #794
When running the
On project I maintain works around this issue by adding all of sys.path to PYTHONPATH for the subprocesses. Setuptools should do something similar (though more elegant by matching only those projects added), enabling this use case in general.
2.10.1 ~~~~~~ * #21: Avoid mutating dictionary keys during iteration. 2.10 ~~~~ * #20: Leverage technique in `setuptools 794 <https://github.com/pypa/setuptools/issues/794>`_ to populate PYTHONPATH during test runs such that Python subprocesses will have a dependency context comparable to the test runner.