Skip to content

Commit c56e52c

Browse files
committed
README: Document installing against classic PIL
1 parent ab4c653 commit c56e52c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@ OpenSlide can read virtual slides in several formats:
3434
.. _Ventana: http://openslide.org/formats/ventana/
3535
.. _`Generic tiled TIFF`: http://openslide.org/formats/generic-tiff/
3636

37+
3738
Requirements
3839
============
3940

4041
* Python 2 >= 2.6 or Python 3 >= 3.3
4142
* OpenSlide >= 3.4.0
4243
* Python Imaging Library or Pillow
4344

45+
4446
Installation
4547
============
4648

@@ -50,6 +52,25 @@ Installation
5052

5153
.. _`Install OpenSlide`: http://openslide.org/download/
5254

55+
56+
Using PIL
57+
---------
58+
59+
``setup.py`` assumes that you want to use the Pillow fork of PIL. If you
60+
already have classic PIL installed, you can use it instead. Install
61+
OpenSlide Python with:
62+
63+
::
64+
65+
pip install --no-deps openslide-python
66+
67+
or, if you are installing by hand:
68+
69+
::
70+
71+
python setup.py install --single-version-externally-managed --record /dev/null
72+
73+
5374
License
5475
=======
5576

0 commit comments

Comments
 (0)