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 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' ]