commit | e8179e79bcb1d8d6e09fffe8e0123afce09ce02d | [log] [tgz] |
---|---|---|
author | Donald Stufft <donald@stufft.io> | Thu Feb 19 22:37:49 2015 -0500 |
committer | Donald Stufft <donald@stufft.io> | Thu Feb 19 22:38:42 2015 -0500 |
tree | c27d0757c526ac57c5beed5e2a70457805252f08 | |
parent | 1b2a616174951d723df791695a461871a46042c4 [diff] |
Pass the sys.path into the subprocess If we're running tests via ``python setup.py test`` in a clean environment then all of our dependencies are going to be installed into either the current directory or the .eggs directory. However the subprocess won't know to activate these dependencies, so we'll get it to do so by passing our entire sys.path into the subprocess via the PYTHONPATH environment variable.