diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0e4405..cd19580 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,9 @@ name: Build and publish to PyPi on: - release: - types: [published] + pull_request: + branches: + - main jobs: # Push a new release to PyPI diff --git a/pyproject.toml b/pyproject.toml index 4526f4d..5c2be62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ dependencies = [ dynamic = ["version"] [project.urls] -Homepage = "https://github.com/yourusername/aipdf" -Repository = "https://github.com/yourusername/aipdf.git" +Homepage = "https://github.com/mindsdb/aipdf" +Repository = "https://github.com/mindsdb/aipdf.git" [tool.setuptools_scm] \ No newline at end of file diff --git a/src/aipdf/__about__.py b/src/aipdf/__about__.py deleted file mode 100644 index 0765a4c..0000000 --- a/src/aipdf/__about__.py +++ /dev/null @@ -1,9 +0,0 @@ -__title__ = 'aipdf' -__package_name__ = 'aipdf' -__version__ = '0.0.1' -__description__ = 'A tool to extract PDF files to markdown, or any other format using AI' -__email__ = 'hello@mindsdb.com' -__author__ = 'MindsDB Inc' -__github__ = 'https://github.com/mindsdb/aipdf' -__pypi__ = 'https://pypi.org/project/mindsdb/' -__copyright__ = 'Copyright 2024-MindsDB' diff --git a/src/aipdf/__init__.py b/src/aipdf/__init__.py index da5e034..782a11f 100644 --- a/src/aipdf/__init__.py +++ b/src/aipdf/__init__.py @@ -1 +1,5 @@ -from .ocr import ocr \ No newline at end of file +from .ocr import ocr + +__version__ = "0.1.0" + +__all__ = ["__version__", "ocr"]