Compare commits

...

3 Commits

Author SHA1 Message Date
Davide Borgonovo 0581b34525 Tolto un controllo inutile sul nome che finisce con .pdf 2022-03-18 14:11:44 +01:00
Vinayak Mehta 644bbe7c6d
Bump version and update HISTORY.md 2021-07-11 23:37:18 +05:30
Vinayak Mehta 1b4aa114e3
Change setup extra from cv to base 2021-07-11 23:35:13 +05:30
6 changed files with 13 additions and 8 deletions

View File

@ -4,6 +4,11 @@ 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[cv]" $ pip install "camelot-py[base]"
</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 ".[cv]" $ pip install ".[base]"
</pre> </pre>
## Documentation ## Documentation

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
VERSION = (0, 10, 0) VERSION = (0, 10, 1)
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[cv]" $ pip install "camelot-py[base]"
conda conda
----- -----
@ -37,4 +37,4 @@ After :ref:`installing the dependencies <install_deps>`, you can install Camelot
:: ::
$ cd camelot $ cd camelot
$ pip install ".[cv]" $ pip install ".[base]"

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 in v0.12.0 "cv": base_requires, # deprecate
"dev": dev_requires, "dev": dev_requires,
"plot": plot_requires, "plot": plot_requires,
}, },