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..b6eb69d5 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. 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",