0

docs: update Linux build instructions for Python 3

This commit is contained in:
Nicolas F
2019-03-22 17:18:12 +01:00
parent dc7d1cd208
commit 316b8099e9

View File

@@ -130,16 +130,16 @@ Debian, this can be done by installing the ``build-essential`` package.
You will need the following packages (at least):
* python-imaging or python-pillow
* python-imaging-dev or python-pillow-dev
* python-dev
* python-numpy
* python3-imaging or python3-pillow
* python3-imaging-dev or python3-pillow-dev
* python3-dev
* python3-numpy
Then to build::
python2 setup.py build
python3 setup.py build
At this point, you can run ``./overviewer.py`` from the current directory, so to run it you'll have to be in this directory and run ``./overviewer.py`` or provide the the full path to ``overviewer.py``. Another option would be to add this directory to your ``$PATH``. Note that there is a ``python2 setup.py install`` step that you can run which will install things into ``/usr/local/bin``, but this is strongly not recommended as it might conflict with other installs of Overviewer.
At this point, you can run ``./overviewer.py`` from the current directory, so to run it you'll have to be in this directory and run ``./overviewer.py`` or provide the the full path to ``overviewer.py``. Another option would be to add this directory to your ``$PATH``. Note that there is a ``python3 setup.py install`` step that you can run which will install things into ``/usr/local/bin``, but this is strongly not recommended as it might conflict with other installs of Overviewer.
macOS
-----