From b5b105ae33a15a8cad92524be7ace469330b0816 Mon Sep 17 00:00:00 2001 From: gilch Date: Sat, 29 Jun 2019 15:07:22 -0600 Subject: [PATCH] Final cleanup for PyPI package release. --- README.md | 10 ++++++++-- src/hissp/repl.py | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 271b42203..ef03be250 100644 --- a/README.md +++ b/README.md @@ -630,9 +630,15 @@ But for a top-level `define` like this, you could have just used `exec()`. > How do I start the REPL again? -Launch the Hissp package using Python from the command line +If you installed the distribution using pip, +you can use the provided `hissp` console script. ``` -$ python -m hissp +$ hissp +``` +You can also launch the Hissp package directly +using an appropriate Python interpreter from the command line +``` +$ python3 -m hissp ``` > There are no statements?! How can you get anything done? diff --git a/src/hissp/repl.py b/src/hissp/repl.py index b65f9b7bc..603ae277b 100644 --- a/src/hissp/repl.py +++ b/src/hissp/repl.py @@ -12,7 +12,7 @@ def repl(macros=None): parser = Parser() if not macros: - with suppress(): + with suppress(FileNotFoundError): transpile("hissp", "basic") from hissp import basic