mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-28 03:32:10 +08:00
- add sys_path= kwarg to Script & Evaluator constructors - store sys_path for each evaluator instance - replace get_sys_path with get_venv_path - get_venv_path: use addsitedir to load .pth extension files - get_venv_path: look for egg-link files in all directories in path
7 lines
124 B
Python
7 lines
124 B
Python
import sys
|
|
sys.path.append('/path/from/smth.py')
|
|
|
|
|
|
def extend_path():
|
|
sys.path.append('/path/from/smth.py:extend_path')
|