From 21a50b9ba808b42e388e88e265527b4184916f09 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 15 Oct 2024 15:51:10 +0200 Subject: [PATCH] fix ipython and ptpython prompt bracket content is removed for unknown reasons --- edgy/cli/operations/shell/ipython.py | 2 +- edgy/cli/operations/shell/ptpython.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/edgy/cli/operations/shell/ipython.py b/edgy/cli/operations/shell/ipython.py index 521991a6..46c070a2 100644 --- a/edgy/cli/operations/shell/ipython.py +++ b/edgy/cli/operations/shell/ipython.py @@ -36,7 +36,7 @@ def run_ipython() -> None: start_ipython(argv=ipython_arguments, user_ns=imported_objects) # type: ignore except (ModuleNotFoundError, ImportError): - error = "You must have IPython installed to run this. Run `pip install edgy[ipython]`" + error = "You must have IPython installed to run this. Run `pip install ipython`" printer.write_error(error) sys.exit(1) diff --git a/edgy/cli/operations/shell/ptpython.py b/edgy/cli/operations/shell/ptpython.py index bf1e1446..9c142efb 100644 --- a/edgy/cli/operations/shell/ptpython.py +++ b/edgy/cli/operations/shell/ptpython.py @@ -47,7 +47,7 @@ def run_ptpython() -> None: ) except (ModuleNotFoundError, ImportError): - error = "You must have IPython installed to run this. Run `pip install edgy[ipython]`" + error = "You must have ptpython installed to run this. Run `pip install ptpython" printer.write_error(error) sys.exit(1)