diff --git a/wexpect/__init__.py b/wexpect_venv/__init__.py similarity index 100% rename from wexpect/__init__.py rename to wexpect_venv/__init__.py diff --git a/wexpect/__main__.py b/wexpect_venv/__main__.py similarity index 96% rename from wexpect/__main__.py rename to wexpect_venv/__main__.py index abc8eb5..d0fb822 100644 --- a/wexpect/__main__.py +++ b/wexpect_venv/__main__.py @@ -3,8 +3,8 @@ import sys import logging import traceback -import wexpect.console_reader as console_reader -import wexpect.wexpect_util as wexpect_util +import wexpect_venv.console_reader as console_reader +import wexpect_venv.wexpect_util as wexpect_util logger = logging.getLogger('wexpect') diff --git a/wexpect/console_reader.py b/wexpect_venv/console_reader.py similarity index 100% rename from wexpect/console_reader.py rename to wexpect_venv/console_reader.py diff --git a/wexpect/host.py b/wexpect_venv/host.py similarity index 100% rename from wexpect/host.py rename to wexpect_venv/host.py diff --git a/wexpect/legacy_wexpect.py b/wexpect_venv/legacy_wexpect.py similarity index 99% rename from wexpect/legacy_wexpect.py rename to wexpect_venv/legacy_wexpect.py index 45607d4..e4b5b4e 100644 --- a/wexpect/legacy_wexpect.py +++ b/wexpect_venv/legacy_wexpect.py @@ -1195,7 +1195,7 @@ class Wtty: commandLine = '"%s" %s "%s"' % (python_executable, ' '.join(pyargs), f"import sys; sys.path = {spath} + sys.path;" - f"args = {args}; import wexpect;" + f"args = {args}; import wexpect_venv as wexpect;" f"wexpect.ConsoleReader(wexpect.join_args(args), {pid}, {tid}, cp={cp}, logdir={logdir})" ) diff --git a/wexpect/wexpect_util.py b/wexpect_venv/wexpect_util.py similarity index 100% rename from wexpect/wexpect_util.py rename to wexpect_venv/wexpect_util.py