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

View File

@@ -0,0 +1 @@
import smth; smth.extend_path_foo()

View File

@@ -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')

View File

@@ -1 +0,0 @@
import smth; smth.extend_path()

View File

@@ -1,6 +0,0 @@
import sys
sys.path.append('/path/from/smth.py')
def extend_path():
sys.path.append('/path/from/smth.py:extend_path')

View File

@@ -1,2 +0,0 @@
# This file is here to force git to create the directory, as *.pth files only
# add existing directories.

View File

@@ -1 +0,0 @@
import smth; smth.extend_path()

View File

@@ -1,6 +0,0 @@
import sys
sys.path.append('/path/from/smth.py')
def extend_path():
sys.path.append('/path/from/smth.py:extend_path')