File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,6 @@ Pillow can be installed on FreeBSD via the official Ports or Packages systems:
103103Building From Source
104104--------------------
105105
106- Download and extract the `compressed archive from PyPI `_.
107-
108- .. _compressed archive from PyPI : https://pypi.org/project/Pillow/
109-
110106.. _external-libraries :
111107
112108External Libraries
@@ -191,7 +187,8 @@ Many of Pillow's features require external libraries:
191187
192188* **libxcb ** provides X11 screengrab support.
193189
194- Once you have installed the prerequisites, run::
190+ Once you have installed the prerequisites, to install Pillow from the source
191+ code on PyPI, run::
195192
196193 python3 -m pip install --upgrade pip
197194 python3 -m pip install --upgrade Pillow --no-binary :all:
@@ -211,6 +208,16 @@ prerequisites, it may be necessary to manually clear the pip cache or
211208build without cache using the ``--no-cache-dir `` option to force a
212209build with newly installed external libraries.
213210
211+ If you would like to install from a local copy of the source code instead, you
212+ can download and extract the `compressed archive from PyPI `_, or clone from
213+ GitHub with ``git clone https://github.com/python-pillow/Pillow ``.
214+
215+ After navigating to the Pillow directory, run::
216+
217+ python3 -m pip install --upgrade pip
218+ python3 -m pip install .
219+
220+ .. _compressed archive from PyPI : https://pypi.org/project/Pillow/
214221
215222Build Options
216223^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments