diff --git a/wexpect/__init__.py b/wexpect/__init__.py new file mode 100644 index 0000000..2ea0491 --- /dev/null +++ b/wexpect/__init__.py @@ -0,0 +1,9 @@ +from .legacy_wexpect import ExceptionPexpect +from .legacy_wexpect import EOF +from .legacy_wexpect import TIMEOUT +from .legacy_wexpect import spawn +from .legacy_wexpect import run +from .legacy_wexpect import split_command_line +from .legacy_wexpect import __version__ + +__all__ = ['ExceptionPexpect', 'EOF', 'TIMEOUT', 'spawn', 'run', 'split_command_line', '__version__'] diff --git a/wexpect.py b/wexpect/legacy_wexpect.py similarity index 100% rename from wexpect.py rename to wexpect/legacy_wexpect.py