Test if virtualenvs and pth files work

This commit is contained in:
Dave Halter
2017-12-30 00:02:14 +01:00
parent 7de04fb28d
commit e2629b680f
16 changed files with 43 additions and 46 deletions
@@ -0,0 +1,2 @@
# This file is here to force git to create the directory, as *.pth files only
# add existing directories.
@@ -0,0 +1 @@
/path/from/egg-link
@@ -0,0 +1 @@
./dir-from-foo-pth
@@ -0,0 +1 @@
import smth; smth.extend_path_foo()
@@ -0,0 +1 @@
./relative/egg-link/path
@@ -0,0 +1,6 @@
import sys
sys.path.append('/foo/smth.py:module')
def extend_path_foo():
sys.path.append('/foo/smth.py:from_func')