From 3040fb5134ee69559af5993c74440e99214c5a8d Mon Sep 17 00:00:00 2001 From: Robb Enzmann Date: Sat, 16 Apr 2022 18:00:26 -0400 Subject: [PATCH 1/2] fix setup.py keyword --- setup.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index c454dd5..2c1bc3f 100644 --- a/setup.py +++ b/setup.py @@ -9,12 +9,12 @@ author_email='dsanson@gmail.com', 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' ] From 2fee95f668e9c8a393e1ac32ca4a6efc54a1c073 Mon Sep 17 00:00:00 2001 From: Robb Enzmann Date: Sat, 16 Apr 2022 18:08:59 -0400 Subject: [PATCH 2/2] Simplify installation instructions --- README.md | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index e1adacd..6865988 100644 --- a/README.md +++ b/README.md @@ -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 - -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