Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a5c4b6865 | |||
| fbe576ffcb | |||
| fcad5067b9 | |||
| 1b8ce1d560 | |||
| 16beb15c43 | |||
| be25e6dbdb | |||
| a13e2f6f1f | |||
| 4b08165328 | |||
| e5b143d9a8 | |||
| 8e5a8e6712 | |||
| 5efbcdcebb | |||
| 189fe58bf2 | |||
| 1575ec1bf0 |
@@ -0,0 +1,24 @@
|
||||
# .readthedocs.yml
|
||||
# Read the Docs configuration file
|
||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||
|
||||
# Required
|
||||
version: 2
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
|
||||
# Build documentation with MkDocs
|
||||
#mkdocs:
|
||||
# configuration: mkdocs.yml
|
||||
|
||||
# Optionally build your docs in additional formats such as PDF
|
||||
formats:
|
||||
- pdf
|
||||
|
||||
# Optionally set the version of Python and requirements required to build your docs
|
||||
python:
|
||||
version: 3.8
|
||||
install:
|
||||
- requirements: requirements.txt
|
||||
+1
-1
@@ -23,7 +23,7 @@ A great way to start contributing to Camelot is to pick an issue tagged with the
|
||||
To install the dependencies needed for development, you can use pip:
|
||||
|
||||
<pre>
|
||||
$ pip install camelot-py[dev]
|
||||
$ pip install "camelot-py[dev]"
|
||||
</pre>
|
||||
|
||||
Alternatively, you can clone the project repository, and install using pip:
|
||||
|
||||
+12
@@ -4,6 +4,18 @@ Release History
|
||||
master
|
||||
------
|
||||
|
||||
0.8.2 (2020-07-27)
|
||||
------------------
|
||||
|
||||
* Revert the changes in `0.8.1`.
|
||||
|
||||
0.8.1 (2020-07-21)
|
||||
------------------
|
||||
|
||||
**Bugfixes**
|
||||
|
||||
* [#169](https://github.com/camelot-dev/camelot/issues/169) Fix import error caused by `pdfminer.six==20200720`. [#171](https://github.com/camelot-dev/camelot/pull/171) by Vinayak Mehta.
|
||||
|
||||
0.8.0 (2020-05-24)
|
||||
------------------
|
||||
|
||||
|
||||
@@ -74,7 +74,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 simply use pip to install Camelot:
|
||||
|
||||
<pre>
|
||||
$ pip install camelot-py[cv]
|
||||
$ pip install "camelot-py[cv]"
|
||||
</pre>
|
||||
|
||||
### From the source code
|
||||
@@ -113,7 +113,7 @@ $ git clone https://www.github.com/camelot-dev/camelot
|
||||
You can install the development dependencies easily, using pip:
|
||||
|
||||
<pre>
|
||||
$ pip install camelot-py[dev]
|
||||
$ pip install "camelot-py[dev]"
|
||||
</pre>
|
||||
|
||||
### Testing
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
VERSION = (0, 8, 0)
|
||||
VERSION = (0, 8, 2)
|
||||
PRERELEASE = None # alpha, beta or rc
|
||||
REVISION = None
|
||||
|
||||
|
||||
+1
-1
@@ -780,7 +780,7 @@ def get_page_layout(
|
||||
parser = PDFParser(f)
|
||||
document = PDFDocument(parser)
|
||||
if not document.is_extractable:
|
||||
raise PDFTextExtractionNotAllowed
|
||||
raise PDFTextExtractionNotAllowed(f"Text extraction is not allowed: {filename}")
|
||||
laparams = LAParams(
|
||||
char_margin=char_margin,
|
||||
line_margin=line_margin,
|
||||
|
||||
@@ -37,7 +37,7 @@ Setting up a development environment
|
||||
|
||||
To install the dependencies needed for development, you can use pip::
|
||||
|
||||
$ pip install camelot-py[dev]
|
||||
$ pip install "camelot-py[dev]"
|
||||
|
||||
Alternatively, you can clone the project repository, and install using pip::
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ Using pip
|
||||
|
||||
After :ref:`installing the dependencies <install_deps>`, which include `Tkinter`_ and `ghostscript`_, you can simply use pip to install Camelot::
|
||||
|
||||
$ pip install camelot-py[cv]
|
||||
$ pip install "camelot-py[cv]"
|
||||
|
||||
.. _Tkinter: https://wiki.python.org/moin/TkInter
|
||||
.. _ghostscript: https://www.ghostscript.com
|
||||
|
||||
+3
-1
@@ -1,8 +1,10 @@
|
||||
chardet>=3.0.4
|
||||
click>=6.7
|
||||
matplotlib>=2.2.3
|
||||
numpy>=1.13.3
|
||||
opencv-python>=3.4.2.17
|
||||
openpyxl>=2.5.8
|
||||
pandas>=0.23.4
|
||||
pdfminer.six>=20170720
|
||||
pdfminer.six>=20200726
|
||||
PyPDF2>=1.26.0
|
||||
Sphinx>=3.1.2
|
||||
|
||||
@@ -19,7 +19,7 @@ requires = [
|
||||
'numpy>=1.13.3',
|
||||
'openpyxl>=2.5.8',
|
||||
'pandas>=0.23.4',
|
||||
'pdfminer.six>=20170720',
|
||||
'pdfminer.six>=20200726',
|
||||
'PyPDF2>=1.26.0'
|
||||
]
|
||||
|
||||
@@ -33,11 +33,11 @@ plot_requires = [
|
||||
|
||||
dev_requires = [
|
||||
'codecov>=2.0.15',
|
||||
'pytest>=3.8.0',
|
||||
'pytest-cov>=2.6.0',
|
||||
'pytest-mpl>=0.10',
|
||||
'pytest-runner>=4.2',
|
||||
'Sphinx>=1.7.9'
|
||||
'pytest>=5.4.3',
|
||||
'pytest-cov>=2.10.0',
|
||||
'pytest-mpl>=0.11',
|
||||
'pytest-runner>=5.2',
|
||||
'Sphinx>=3.1.2'
|
||||
]
|
||||
|
||||
all_requires = cv_requires + plot_requires
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 48 KiB |
Reference in New Issue
Block a user