From d309dbd97fb6fd65636a24986d79cbac79d9c6d9 Mon Sep 17 00:00:00 2001 From: Miro <200482516+Mirochill@users.noreply.github.com> Date: Mon, 25 May 2026 20:13:15 +0200 Subject: [PATCH] Add python module entrypoint --- README_pypi.md | 4 ++-- src/binary_waterfall/__main__.py | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 src/binary_waterfall/__main__.py diff --git a/README_pypi.md b/README_pypi.md index c94f556..c040adb 100644 --- a/README_pypi.md +++ b/README_pypi.md @@ -6,7 +6,7 @@

Inspired by this video.

## Command Line Usage -After installing the module, run `binary-waterfall`. +After installing the module, run `binary-waterfall` or `python -m binary_waterfall`. ## Attribution If you use this program to make a video or other project, you must provide attribution. Attribution is required regardless of whether your project is for-profit or not. Please reproduce the following attribution statement in full in your video description or otherwise include it in the references for your project: @@ -27,4 +27,4 @@ https://github.com/nimaid/binary-waterfall - **Mute / Unmute:** `M` ## Showcase Video -[](https://www.youtube.com/watch?v=gZRWbv_aob0 "Microsoft Paint Remix") \ No newline at end of file +[](https://www.youtube.com/watch?v=gZRWbv_aob0 "Microsoft Paint Remix") diff --git a/src/binary_waterfall/__main__.py b/src/binary_waterfall/__main__.py new file mode 100644 index 0000000..60d8662 --- /dev/null +++ b/src/binary_waterfall/__main__.py @@ -0,0 +1,5 @@ +from . import run + + +if __name__ == "__main__": + run()