Add $ to commands
parent
11cee8041b
commit
0dbe531101
13
README.md
13
README.md
|
|
@ -28,6 +28,7 @@ Camelot is a Python library and command-line tool for extracting tables from PDF
|
||||||
### Command-line interface
|
### Command-line interface
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
$ camelot --help
|
||||||
Usage: camelot [OPTIONS] FILEPATH
|
Usage: camelot [OPTIONS] FILEPATH
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
@ -105,7 +106,7 @@ The dependencies include [tk](https://wiki.tcl.tk/3743) and [ghostscript](https:
|
||||||
Make sure you have the most updated versions for `pip` and `setuptools`. You can update them by
|
Make sure you have the most updated versions for `pip` and `setuptools`. You can update them by
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
pip install -U pip setuptools
|
$ pip install -U pip setuptools
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
### Installing dependencies
|
### Installing dependencies
|
||||||
|
|
@ -117,25 +118,25 @@ tk and ghostscript can be installed using your system's default package manager.
|
||||||
* Ubuntu
|
* Ubuntu
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
sudo apt-get install python-tk ghostscript
|
$ sudo apt-get install python-tk ghostscript
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
* Arch Linux
|
* Arch Linux
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
sudo pacman -S tk ghostscript
|
$ sudo pacman -S tk ghostscript
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
#### OS X
|
#### OS X
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
brew install tcl-tk ghostscript
|
$ brew install tcl-tk ghostscript
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Finally, `cd` into the project directory and install by
|
Finally, `cd` into the project directory and install by
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
python setup.py install
|
$ python setup.py install
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
@ -155,5 +156,5 @@ See [Contributing guidelines]().
|
||||||
### Testing
|
### Testing
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
python setup.py test
|
$ python setup.py test
|
||||||
</pre>
|
</pre>
|
||||||
|
|
@ -12,7 +12,7 @@ The preferred way to contribute to Camelot is to fork this repository, and then
|
||||||
3. Clone this copy to your local disk.
|
3. Clone this copy to your local disk.
|
||||||
4. Create a branch to hold your changes::
|
4. Create a branch to hold your changes::
|
||||||
|
|
||||||
git checkout -b my-feature
|
$ git checkout -b my-feature
|
||||||
|
|
||||||
and start making changes. Never work in the `master` branch!
|
and start making changes. Never work in the `master` branch!
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@ Code
|
||||||
|
|
||||||
You can check the latest sources with the command::
|
You can check the latest sources with the command::
|
||||||
|
|
||||||
git clone https://github.com/socialcopsdev/camelot.git
|
$ git clone https://github.com/socialcopsdev/camelot.git
|
||||||
|
|
||||||
Contributing
|
Contributing
|
||||||
------------
|
------------
|
||||||
|
|
@ -44,4 +44,4 @@ Testing
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
python setup.py test
|
$ python setup.py test
|
||||||
|
|
@ -58,6 +58,7 @@ Usage
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
$ camelot --help
|
||||||
Usage: camelot [OPTIONS] FILEPATH
|
Usage: camelot [OPTIONS] FILEPATH
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ Installation
|
||||||
|
|
||||||
Make sure you have the most updated versions for `pip` and `setuptools`. You can update them by::
|
Make sure you have the most updated versions for `pip` and `setuptools`. You can update them by::
|
||||||
|
|
||||||
pip install -U pip setuptools
|
$ pip install -U pip setuptools
|
||||||
|
|
||||||
The dependencies include `tk`_ and `ghostscript`_.
|
The dependencies include `tk`_ and `ghostscript`_.
|
||||||
|
|
||||||
|
|
@ -24,21 +24,21 @@ Linux
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
sudo apt-get install python-opencv python-tk ghostscript
|
$ sudo apt-get install python-opencv python-tk ghostscript
|
||||||
|
|
||||||
* Arch Linux
|
* Arch Linux
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
sudo pacman -S opencv tk ghostscript
|
$ sudo pacman -S opencv tk ghostscript
|
||||||
|
|
||||||
OS X
|
OS X
|
||||||
^^^^
|
^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
brew install homebrew/science/opencv ghostscript
|
$ brew install homebrew/science/opencv ghostscript
|
||||||
|
|
||||||
Finally, `cd` into the project directory and install by::
|
Finally, `cd` into the project directory and install by::
|
||||||
|
|
||||||
python setup.py install
|
$ python setup.py install
|
||||||
Loading…
Reference in New Issue