From e521eebc666cc4cc16cac9af07127491e817c84a Mon Sep 17 00:00:00 2001 From: PratibhaK11 Date: Mon, 16 Dec 2024 18:01:28 +0530 Subject: [PATCH] Add binary and Homebrew support for CLI #25 --- README.md | 7 +++++++ src/markitdown/__main__.py | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df7189df..cc27a387 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,14 @@ or from the source ```sh pip install -e . ``` +# Homebrew Installation (for macOS users) +If you're on macOS, you can install markitdown via Homebrew: +```sh +brew install markitdown +``` + +This provides a convenient method to install and run markitdown directly from the terminal, with no need to install Python or other dependencies. # Usage The API is simple: diff --git a/src/markitdown/__main__.py b/src/markitdown/__main__.py index 6c8a6723..449aec30 100644 --- a/src/markitdown/__main__.py +++ b/src/markitdown/__main__.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: MIT import sys -from ._markitdown import MarkItDown +from markitdown._markitdown import MarkItDown def main(): @@ -40,3 +40,4 @@ def main(): if __name__ == "__main__": main() +