diff options
Diffstat (limited to 'ptpython/__main__.py')
-rw-r--r-- | ptpython/__main__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ptpython/__main__.py b/ptpython/__main__.py new file mode 100644 index 0000000..c006261 --- /dev/null +++ b/ptpython/__main__.py @@ -0,0 +1,8 @@ +""" +Make `python -m ptpython` an alias for running `./ptpython`. +""" +from __future__ import annotations + +from .entry_points.run_ptpython import run + +run() |