Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,9 @@ Note the alpha transparency. You can toggle this on or off by pressing `a`.

# Installation

git clone https://github.com/dsanson/termpdf.py
cd termpdf.py
pip install -r requirements.txt
python3 -m pip install git+https://github.com/dsanson/termpdf.py

(You might need to use `pip3` if `pip` is Python 2 on your system.)

Now you can run the script in place:

./termpdf.py <file.pdf>

Or copy it somewhere in your path.

Or you can install it with pip:

pip install .
This adds the `termpdf.py` command to your path.

# Simple Usage

Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
author_email='[email protected]',
url='https://github.com/dsanson/termpdf.py',
scripts=['termpdf.py'],
requires=[
'PyMuPDF',
'pyperclip',
'pdfrw',
'pybtex',
'pynvim',
install_requires=[
'PyMuPDF',
'pyperclip',
'pdfrw',
'pybtex',
'pynvim',
'roman',
'pagelabels'
]
Expand Down