Add conda installation instructions
parent
45e7f7570e
commit
898646b73b
|
|
@ -1,6 +1,12 @@
|
||||||
Release History
|
Release History
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
master
|
||||||
|
------
|
||||||
|
|
||||||
|
* Update installation instructions for conda.
|
||||||
|
* Downgrade numpy version from 1.15.2 to 1.13.3.
|
||||||
|
|
||||||
0.2.3 (2018-10-08)
|
0.2.3 (2018-10-08)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
|
||||||
18
README.md
18
README.md
|
|
@ -56,15 +56,25 @@ See [comparison with other PDF table extraction libraries and tools](https://git
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
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:
|
### Using conda
|
||||||
|
|
||||||
|
The easiest way to install Camelot is to install it with [conda](https://conda.io/docs/), which is the package manager that the [Anaconda](http://docs.continuum.io/anaconda/) distribution is built upon.
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
$ conda install -c camelot-dev camelot-py
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
### Using pip
|
||||||
|
|
||||||
|
After [installing the dependencies](https://camelot-py.readthedocs.io/en/latest/user/install.html#using-pip) ([tk](https://packages.ubuntu.com/trusty/python-tk) and [ghostscript](https://www.ghostscript.com/)), you can simply use pip to install Camelot:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ pip install camelot-py[all]
|
$ pip install camelot-py[all]
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
### Alternatively
|
### From the source code
|
||||||
|
|
||||||
After [installing the dependencies](https://camelot-py.readthedocs.io/en/latest/user/install.html), clone the repo using:
|
After [installing the dependencies](https://camelot-py.readthedocs.io/en/latest/user/install.html#using-pip), clone the repo using:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ git clone https://www.github.com/socialcopsdev/camelot
|
$ git clone https://www.github.com/socialcopsdev/camelot
|
||||||
|
|
@ -77,8 +87,6 @@ $ cd camelot
|
||||||
$ pip install ".[all]"
|
$ pip install ".[all]"
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
**Note:** Use a [virtualenv](https://virtualenv.pypa.io/en/stable/) if you don't want to affect your global Python installation.
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Great documentation is available at [http://camelot-py.readthedocs.io/](http://camelot-py.readthedocs.io/).
|
Great documentation is available at [http://camelot-py.readthedocs.io/](http://camelot-py.readthedocs.io/).
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,30 @@
|
||||||
Installation of Camelot
|
Installation of Camelot
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
This part of the documentation covers how to install Camelot. First, you'll need to install the dependencies, which include `Tkinter`_ and `ghostscript`_.
|
This part of the documentation covers how to install Camelot.
|
||||||
|
|
||||||
|
Using conda
|
||||||
|
-----------
|
||||||
|
|
||||||
|
The easiest way to install Camelot is to install it with `conda`_, which is the package manager that the `Anaconda`_ distribution is built upon.
|
||||||
|
::
|
||||||
|
|
||||||
|
$ conda install -c camelot-dev camelot-py
|
||||||
|
|
||||||
|
.. note:: Camelot is available for Python 2.7, 3.5 and 3.6 on Linux, macOS and Windows. For Windows, you will need to install ghostscript which you can get from their `downloads page`_.
|
||||||
|
|
||||||
|
.. _conda: https://conda.io/docs/
|
||||||
|
.. _Anaconda: http://docs.continuum.io/anaconda/
|
||||||
|
.. _downloads page: https://www.ghostscript.com/download/gsdnld.html
|
||||||
|
|
||||||
|
Using pip
|
||||||
|
---------
|
||||||
|
|
||||||
|
First, you'll need to install the dependencies, which include `Tkinter`_ and `ghostscript`_.
|
||||||
|
|
||||||
.. _Tkinter: https://wiki.python.org/moin/TkInter
|
.. _Tkinter: https://wiki.python.org/moin/TkInter
|
||||||
.. _ghostscript: https://www.ghostscript.com
|
.. _ghostscript: https://www.ghostscript.com
|
||||||
|
|
||||||
Install the dependencies
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
These can be installed using your system's package manager. You can run one of the following, based on your OS.
|
These can be installed using your system's package manager. You can run one of the following, based on your OS.
|
||||||
|
|
||||||
For Ubuntu
|
For Ubuntu
|
||||||
|
|
@ -76,17 +92,14 @@ Or for Windows 32-bit::
|
||||||
|
|
||||||
If you have ghostscript, you should see the ghostscript version and copyright information.
|
If you have ghostscript, you should see the ghostscript version and copyright information.
|
||||||
|
|
||||||
$ pip install camelot-py[all]
|
Finally, you can use pip to install Camelot::
|
||||||
-----------------------------
|
|
||||||
|
|
||||||
After installing the dependencies, you can simply use pip to install Camelot::
|
|
||||||
|
|
||||||
$ pip install camelot-py[all]
|
$ pip install camelot-py[all]
|
||||||
|
|
||||||
Get the source code
|
From the source code
|
||||||
-------------------
|
--------------------
|
||||||
|
|
||||||
Alternatively, you can install from the source by:
|
After `installing the dependencies`_, you can install from the source by:
|
||||||
|
|
||||||
1. Cloning the GitHub repository.
|
1. Cloning the GitHub repository.
|
||||||
::
|
::
|
||||||
|
|
@ -97,4 +110,6 @@ Alternatively, you can install from the source by:
|
||||||
::
|
::
|
||||||
|
|
||||||
$ cd camelot
|
$ cd camelot
|
||||||
$ pip install ".[all]"
|
$ pip install ".[all]"
|
||||||
|
|
||||||
|
.. _installing the dependencies: https://camelot-py.readthedocs.io/en/latest/user/install.html#using-pip
|
||||||
2
setup.py
2
setup.py
|
|
@ -16,7 +16,7 @@ with open('README.md', 'r') as f:
|
||||||
requires = [
|
requires = [
|
||||||
'click>=6.7',
|
'click>=6.7',
|
||||||
'matplotlib>=2.2.3',
|
'matplotlib>=2.2.3',
|
||||||
'numpy>=1.15.2',
|
'numpy>=1.13.3',
|
||||||
'openpyxl>=2.5.8',
|
'openpyxl>=2.5.8',
|
||||||
'pandas>=0.23.4',
|
'pandas>=0.23.4',
|
||||||
'pdfminer.six>=20170720',
|
'pdfminer.six>=20170720',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue