From 170a3772285a267c08a80ef0293fff02d27ce46d Mon Sep 17 00:00:00 2001 From: James Crumpacker <48526250+DoomedJupiter@users.noreply.github.com> Date: Wed, 29 Oct 2025 13:26:26 -0500 Subject: [PATCH 1/3] update install options in docs removed base install option from docs add current install options to docs add link to visual debugging doc --- docs/user/advanced.rst | 1 + docs/user/install.rst | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 38775d51..0130a8e9 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -35,6 +35,7 @@ To process background lines, you can pass ``process_background=True``. :file: ../_static/csv/background_lines.csv :class: full-width +.. _visual_debug: Visual debugging ---------------- diff --git a/docs/user/install.rst b/docs/user/install.rst index e6baf766..2351b0d5 100644 --- a/docs/user/install.rst +++ b/docs/user/install.rst @@ -12,9 +12,9 @@ You can use one of the following methods to install Camelot: pip --- -To install Camelot from PyPI using ``pip``, please include the extra ``cv`` requirement as shown:: +To install Camelot from PyPI using ``pip``:: - $ pip install "camelot-py[base]" + $ pip install "camelot-py" conda ----- @@ -37,4 +37,15 @@ After :ref:`installing the dependencies `, you can install Camelot :: $ cd camelot - $ pip install ".[base]" + $ pip install "." + +Optional Dependencies +--------------------- + +Additional dependencies for Camelot can be installed using the following options + +- ``[plot]`` installs the python package ``matplotlib`` and is used for :ref:`visual debugging `. + +- ``[ghostscript]`` installs the python package ``ghostscript`` and is used for the optional ghostscript backend. + +Note that ``[ghostscript]`` only installs the python package ``ghostscript``, which provides an interface to the Ghostscript C-API. Users must still `download `_ and install Ghostscript manually. \ No newline at end of file From 1f44c04d9fa5948c633cf446b25244ccc46f5712 Mon Sep 17 00:00:00 2001 From: James Crumpacker <48526250+DoomedJupiter@users.noreply.github.com> Date: Wed, 29 Oct 2025 14:49:25 -0500 Subject: [PATCH 2/3] minor formatting fixes --- docs/user/install.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/install.rst b/docs/user/install.rst index 2351b0d5..b6eb69d5 100644 --- a/docs/user/install.rst +++ b/docs/user/install.rst @@ -44,8 +44,8 @@ Optional Dependencies Additional dependencies for Camelot can be installed using the following options -- ``[plot]`` installs the python package ``matplotlib`` and is used for :ref:`visual debugging `. +- ``[plot]`` installs the python package ``matplotlib`` and is used for :ref:`visual debugging `. - ``[ghostscript]`` installs the python package ``ghostscript`` and is used for the optional ghostscript backend. -Note that ``[ghostscript]`` only installs the python package ``ghostscript``, which provides an interface to the Ghostscript C-API. Users must still `download `_ and install Ghostscript manually. \ No newline at end of file +Note that ``[ghostscript]`` only installs the python package ``ghostscript``, which provides an interface to the Ghostscript C-API. Users must still `download `_ and install Ghostscript manually. From 9f7f76e5c54bf2ec754fbd76f113a24dc6e7eb2e Mon Sep 17 00:00:00 2001 From: James Crumpacker <48526250+DoomedJupiter@users.noreply.github.com> Date: Wed, 29 Oct 2025 14:56:36 -0500 Subject: [PATCH 3/3] update license this should fix the failing tests 3.8 / ubuntu-latest --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0c6071e5..5d6dc360 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "PDF Table Extraction for Humans." authors = [ {name = "Vinayak Mehta", email = "vmehta94@gmail.com"}, ] -license = "MIT" +license = {file = "LICENSE"} readme = "README.md" classifiers = [ "Development Status :: 5 - Production/Stable",