4 Commits

Author SHA1 Message Date
Vinayak Mehta 45e7f7570e Bump version 2018-10-08 03:54:21 +05:30
Vinayak Mehta 296be21d9d Update requirement versions 2018-10-08 01:44:20 +05:30
Vinayak Mehta 1a358f603a Update MANIFEST.in
Update HISTORY.md
2018-10-08 01:18:19 +05:30
Vinayak Mehta fe68328ef2 Move opencv-python to extra_requires (#134) 2018-10-08 01:10:48 +05:30
8 changed files with 49 additions and 35 deletions
+13 -1
View File
@@ -1,6 +1,18 @@
Release History
===============
0.2.3 (2018-10-08)
------------------
* Remove hard dependencies on requirements versions.
0.2.2 (2018-10-08)
------------------
**Bugfixes**
* Move opencv-python to extra\_requires. [#134](https://github.com/socialcopsdev/camelot/pull/134) by Vinayak Mehta.
0.2.1 (2018-10-05)
------------------
@@ -51,4 +63,4 @@ Release History
0.1.0 (2018-09-24)
------------------
* Birth!
* Birth!
+1 -1
View File
@@ -1 +1 @@
include MANIFEST.in README.md HISTORY.md LICENSE requirements.txt requirements-dev.txt setup.py setup.cfg
include MANIFEST.in README.md HISTORY.md LICENSE setup.py setup.cfg
+2 -2
View File
@@ -59,7 +59,7 @@ See [comparison with other PDF table extraction libraries and tools](https://git
After [installing the dependencies](https://camelot-py.readthedocs.io/en/latest/user/install.html) ([tk](https://packages.ubuntu.com/trusty/python-tk) and [ghostscript](https://www.ghostscript.com/)), you can simply use pip to install Camelot:
<pre>
$ pip install camelot-py
$ pip install camelot-py[all]
</pre>
### Alternatively
@@ -74,7 +74,7 @@ and install Camelot using pip:
<pre>
$ cd camelot
$ pip install .
$ pip install ".[all]"
</pre>
**Note:** Use a [virtualenv](https://virtualenv.pypa.io/en/stable/) if you don't want to affect your global Python installation.
+1 -1
View File
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
VERSION = (0, 2, 1)
VERSION = (0, 2, 3)
__title__ = 'camelot-py'
__description__ = 'PDF Table Extraction for Humans.'
+4 -4
View File
@@ -76,12 +76,12 @@ Or for Windows 32-bit::
If you have ghostscript, you should see the ghostscript version and copyright information.
$ pip install camelot-py
------------------------
$ pip install camelot-py[all]
-----------------------------
After installing the dependencies, you can simply use pip to install Camelot::
$ pip install camelot-py
$ pip install camelot-py[all]
Get the source code
-------------------
@@ -97,4 +97,4 @@ Alternatively, you can install from the source by:
::
$ cd camelot
$ pip install .
$ pip install ".[all]"
-5
View File
@@ -1,5 +0,0 @@
codecov==2.0.15
pytest==3.8.0
pytest-cov==2.6.0
pytest-runner==4.2
Sphinx==1.7.9
-8
View File
@@ -1,8 +0,0 @@
click==6.7
matplotlib==2.2.3
numpy==1.15.2
opencv-python==3.4.2.17
openpyxl==2.5.8
pandas==0.23.4
pdfminer.six==20170720
PyPDF2==1.26.0
+28 -13
View File
@@ -13,17 +13,31 @@ with open('README.md', 'r') as f:
readme = f.read()
requires = [
'click>=6.7',
'matplotlib>=2.2.3',
'numpy>=1.15.2',
'openpyxl>=2.5.8',
'pandas>=0.23.4',
'pdfminer.six>=20170720',
'PyPDF2>=1.26.0'
]
all_requires = [
'opencv-python>=3.4.2.17'
]
dev_requires = [
'codecov>=2.0.15',
'pytest>=3.8.0',
'pytest-cov>=2.6.0',
'pytest-runner>=4.2',
'Sphinx>=1.7.9'
]
dev_requires = dev_requires + all_requires
def setup_package():
reqs = []
with open('requirements.txt', 'r') as f:
for line in f:
reqs.append(line.strip())
dev_reqs = []
with open('requirements-dev.txt', 'r') as f:
for line in f:
dev_reqs.append(line.strip())
metadata = dict(name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
@@ -34,9 +48,10 @@ def setup_package():
author_email=about['__author_email__'],
license=about['__license__'],
packages=find_packages(exclude=('tests',)),
install_requires=reqs,
install_requires=requires,
extras_require={
'dev': dev_reqs
'all': all_requires,
'dev': dev_requires
},
entry_points={
'console_scripts': [
@@ -61,5 +76,5 @@ def setup_package():
setup(**metadata)
if __name__ == '__main__':
if __name__ >= '__main__':
setup_package()