Pillow/depends/README.rst

28 lines
881 B
ReStructuredText
Raw Normal View History

2014-06-29 00:10:42 +04:00
Depends
=======
2016-05-06 18:33:07 +03:00
``install_openjpeg.sh``, ``install_webp.sh`` and ``install_imagequant.sh`` can
be used to download, build & install non-packaged dependencies; useful for
2015-10-10 23:11:17 +03:00
testing with Travis CI.
The other scripts can be used to install all of the dependencies for
2015-10-10 23:29:58 +03:00
the listed operating systems/distros. The ``ubuntu_14.04.sh`` and
``debian_8.2.sh`` scripts have been tested on bare AWS images and will
2015-10-12 18:55:06 +03:00
install all required dependencies for the system Python 2.7 and 3.4
2015-10-10 23:29:58 +03:00
for all of the optional dependencies. Git may also be required prior
to running the script to actually download Pillow.
2015-10-10 23:11:17 +03:00
e.g.::
$ sudo apt-get install git
$ git clone https://github.com/python-pillow/Pillow.git
$ cd Pillow/depends
$ ./debian_8.2.sh
$ cd ..
2015-10-12 18:55:06 +03:00
$ git checkout [branch or tag]
2015-10-10 23:11:17 +03:00
$ virtualenv -p /usr/bin/python2.7 ~/vpy27
$ source ~/vpy27/bin/activate
2016-06-17 13:03:21 +03:00
$ make install
2015-10-10 23:11:17 +03:00
$ make test
2016-09-03 05:23:42 +03:00