mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Move sample_venvs to examples
This commit is contained in:
@@ -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
|
||||
1
test/examples/sample_venvs/pth_directory/foo.pth
Normal file
1
test/examples/sample_venvs/pth_directory/foo.pth
Normal file
@@ -0,0 +1 @@
|
||||
./dir-from-foo-pth
|
||||
1
test/examples/sample_venvs/pth_directory/import_smth.pth
Normal file
1
test/examples/sample_venvs/pth_directory/import_smth.pth
Normal file
@@ -0,0 +1 @@
|
||||
import smth; smth.extend_path_foo()
|
||||
@@ -0,0 +1 @@
|
||||
./relative/egg-link/path
|
||||
6
test/examples/sample_venvs/pth_directory/smth.py
Normal file
6
test/examples/sample_venvs/pth_directory/smth.py
Normal 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')
|
||||
Reference in New Issue
Block a user