Compare commits

..

No commits in common. "master" and "v0.10.0" have entirely different histories.

6 changed files with 8 additions and 13 deletions

View File

@ -4,11 +4,6 @@ Release History
master master
------ ------
0.10.1 (2021-07-11)
------------------
- Change extra requirements from `cv` to `base`. You can use `pip install "camelot-py[base]"` to install everything required to run camelot.
0.10.0 (2021-07-11) 0.10.0 (2021-07-11)
------------------ ------------------

View File

@ -78,7 +78,7 @@ $ conda install -c conda-forge camelot-py
After [installing the dependencies](https://camelot-py.readthedocs.io/en/master/user/install-deps.html) ([tk](https://packages.ubuntu.com/bionic/python/python-tk) and [ghostscript](https://www.ghostscript.com/)), you can also just use pip to install Camelot: After [installing the dependencies](https://camelot-py.readthedocs.io/en/master/user/install-deps.html) ([tk](https://packages.ubuntu.com/bionic/python/python-tk) and [ghostscript](https://www.ghostscript.com/)), you can also just use pip to install Camelot:
<pre> <pre>
$ pip install "camelot-py[base]" $ pip install "camelot-py[cv]"
</pre> </pre>
### From the source code ### From the source code
@ -93,7 +93,7 @@ and install Camelot using pip:
<pre> <pre>
$ cd camelot $ cd camelot
$ pip install ".[base]" $ pip install ".[cv]"
</pre> </pre>
## Documentation ## Documentation

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
VERSION = (0, 10, 1) VERSION = (0, 10, 0)
PRERELEASE = None # alpha, beta or rc PRERELEASE = None # alpha, beta or rc
REVISION = None REVISION = None

View File

@ -38,8 +38,8 @@ class PDFHandler(object):
if is_url(filepath): if is_url(filepath):
filepath = download_url(filepath) filepath = download_url(filepath)
self.filepath = filepath self.filepath = filepath
# if not filepath.lower().endswith(".pdf"): if not filepath.lower().endswith(".pdf"):
# raise NotImplementedError("File format not supported") raise NotImplementedError("File format not supported")
if password is None: if password is None:
self.password = "" self.password = ""

View File

@ -14,7 +14,7 @@ pip
To install Camelot from PyPI using ``pip``, please include the extra ``cv`` requirement as shown:: To install Camelot from PyPI using ``pip``, please include the extra ``cv`` requirement as shown::
$ pip install "camelot-py[base]" $ pip install "camelot-py[cv]"
conda conda
----- -----
@ -37,4 +37,4 @@ After :ref:`installing the dependencies <install_deps>`, you can install Camelot
:: ::
$ cd camelot $ cd camelot
$ pip install ".[base]" $ pip install ".[cv]"

View File

@ -60,7 +60,7 @@ def setup_package():
extras_require={ extras_require={
"all": all_requires, "all": all_requires,
"base": base_requires, "base": base_requires,
"cv": base_requires, # deprecate "cv": base_requires, # deprecate in v0.12.0
"dev": dev_requires, "dev": dev_requires,
"plot": plot_requires, "plot": plot_requires,
}, },