summaryrefslogtreecommitdiffstats
path: root/ptpython/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'ptpython/__main__.py')
-rw-r--r--ptpython/__main__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ptpython/__main__.py b/ptpython/__main__.py
new file mode 100644
index 0000000..83340a7
--- /dev/null
+++ b/ptpython/__main__.py
@@ -0,0 +1,6 @@
+"""
+Make `python -m ptpython` an alias for running `./ptpython`.
+"""
+from .entry_points.run_ptpython import run
+
+run()