Python Imaging Library (Fork)
Go to file
Melvyn Sopacua 092d97f829 Fix compilation on FreeBSD with 2 openjpegs
When openjpeg 1.5 is installed (Calligra 2.x, for example) and OpenJPEG
2.1 is installed, the subdirectory is added twice.

Since the 2nd time is ignored, it is ranked after the more general
/usr/local/include and openjpeg.h from the 1.5 version is picked up.

Fix this in a more general way:
- If a directory is added that already is in path
- But where is specified

Then remove the subdir from path and insert it at the spot requested.

A FIXME is added to the code bit explaining the real issue, but lack
investigative spirit / time to dive down the rabbit hole.
2017-05-26 13:44:26 +02:00
.github Updated Issue Template [skip ci] 2016-09-22 09:02:32 +01:00
.travis Merge pull request #2528 from hugovk/codecov 2017-05-15 13:01:33 +03:00
depends Updated libimagequant to 2.9.1 2017-05-24 19:53:23 +10:00
docs Merge pull request #2460 from radarhere/health 2017-05-13 12:48:44 +03:00
libImaging Disable undef on pypy 2017-04-19 13:27:59 -07:00
PIL Update ImageFile.py 2017-05-13 12:07:16 -04:00
Scripts Set executable flag on scripts with shebang line 2017-03-31 19:43:19 +11:00
Tests Add test 2017-05-13 12:07:16 -04:00
Tk comments 2017-01-26 05:55:18 -08:00
winbuild Updated libtiff to 4.0.8 2017-05-22 19:34:50 +10:00
_imaging.c Remove WITH_DEBUG compilation flag, non-debug code relies on interface existence 2017-05-12 02:55:44 -07:00
_imagingcms.c Update http to https 2017-02-14 11:27:02 +02:00
_imagingft.c Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
_imagingmath.c Removed powf support for older Python versions 2016-03-28 19:06:06 +11:00
_imagingmorph.c Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
_imagingtk.c Applied patch: a91559b82c to fix issue #1902 2017-01-26 05:31:45 -08:00
_webp.c Fixed mistakes in error handling when PyArg_ParseTuple raises an exception. 2017-05-12 00:21:39 +02:00
.coveragerc Don't exclude Windows code 2014-07-05 21:32:09 +03:00
.editorconfig Remove duplicate line [CI skip] 2016-09-03 12:37:47 +03:00
.gitattributes Set ContainerIO test file as binary 2017-03-26 23:30:05 -07:00
.gitignore Activated MPO detection. 2014-07-17 12:30:45 -04:00
.landscape.yaml Set landscape max-line-length 2015-07-21 18:23:55 +10:00
.travis.yml Run faster Dockers last so slower jobs don't hold up the build 2017-03-26 22:14:57 +03:00
appveyor.yml added region for s3 deployment on appveyor 2017-05-10 03:27:25 -07:00
build_children.sh Fix repo name in curl 2015-01-04 21:30:50 +02:00
CHANGES.rst [CI skip] 2017-05-24 17:00:33 +03:00
codecov.yml Disable Codecov PR comment https://docs.codecov.io/v4.3.6/docs/pull-request-comments 2017-05-13 18:25:14 +03:00
decode.c Pure Python MSP Decoder 2017-03-11 13:50:19 +00:00
display.c Don't use int to handle type 2015-10-01 14:54:32 +01:00
encode.c Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
LICENSE Merge branch 'master' into license 2017-01-29 13:06:10 +02:00
Makefile Pypi doesn't accept multiple source archives anymore 2017-05-10 03:36:22 -07:00
MANIFEST.in Exclude .travis and contents from manifest 2017-01-30 19:51:28 +11:00
map.c Avoid division by zero 2017-02-22 08:28:20 +02:00
mp_compile.py Removed unused variable 2017-04-20 21:09:23 +10:00
outline.c py3k: Remove ancient Python hacks 2013-01-10 08:46:57 -06:00
path.c Remove code 'not yet implemented' since May 10, 2003 2017-05-22 23:02:08 +03:00
profile-installed.py Removed unused import 2016-05-10 23:10:44 +10:00
py3.h Drop support for Python 2.6 2016-11-22 04:23:55 -08:00
README.rst Remove commented download-count badge 2017-03-02 07:30:15 +02:00
RELEASING.md Update RELEASING.md for pypi, process changes 2017-05-10 03:36:22 -07:00
requirements.txt Add note about reqs [ci skip] 2016-03-23 17:23:08 -04:00
selftest.py Set executable flag on selftest.py and added shebang line 2016-12-11 12:30:11 +11:00
setup.py Fix compilation on FreeBSD with 2 openjpegs 2017-05-26 13:44:26 +02:00
test-installed.py Add more detail to the appveyor test runs 2016-05-12 05:52:29 -07:00
tox.ini Fixed URL 2017-05-15 19:56:16 +10:00

Pillow
======

Python Imaging Library (Fork)
-----------------------------

Pillow is the friendly PIL fork by `Alex Clark and Contributors <https://github.com/python-pillow/Pillow/graphs/contributors>`_. PIL is the Python Imaging Library by Fredrik Lundh and Contributors.

.. start-badges

.. list-table::
    :stub-columns: 1

    * - docs
      - |docs|
    * - tests
      - | |linux| |macos| |windows| |coverage| |health|
    * - package
      - |zenodo| |version|

.. |docs| image:: https://readthedocs.org/projects/pillow/badge/?version=latest
   :target: https://pillow.readthedocs.io/?badge=latest
   :alt: Documentation Status

.. |linux| image:: https://img.shields.io/travis/python-pillow/Pillow/master.svg?label=Linux%20build
   :target: https://travis-ci.org/python-pillow/Pillow
   :alt: Travis CI build status (Linux)

.. |macos| image:: https://img.shields.io/travis/python-pillow/pillow-wheels/latest.svg?label=macOS%20build
   :target: https://travis-ci.org/python-pillow/pillow-wheels
   :alt: Travis CI build status (macOS)

.. |windows| image:: https://img.shields.io/appveyor/ci/python-pillow/Pillow/master.svg?label=Windows%20build
   :target: https://ci.appveyor.com/project/python-pillow/Pillow
   :alt: AppVeyor CI build status (Windows)

.. |coverage| image:: https://coveralls.io/repos/python-pillow/Pillow/badge.svg?branch=master&service=github
   :target: https://coveralls.io/github/python-pillow/Pillow?branch=master
   :alt: Code coverage

.. |health| image:: https://landscape.io/github/python-pillow/Pillow/master/landscape.svg
   :target: https://landscape.io/github/python-pillow/Pillow/master
   :alt: Code health

.. |zenodo| image:: https://zenodo.org/badge/17549/python-pillow/Pillow.svg
   :target: https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow

.. |version| image:: https://img.shields.io/pypi/v/pillow.svg
   :target: https://pypi.python.org/pypi/Pillow/
   :alt: Latest PyPI version

.. end-badges



More Information
----------------

- `Documentation <https://pillow.readthedocs.io/>`_

  - `Installation <https://pillow.readthedocs.io/en/latest/installation.html>`_
  - `Handbook <https://pillow.readthedocs.io/en/latest/handbook/index.html>`_

- `Contribute <https://github.com/python-pillow/Pillow/blob/master/.github/CONTRIBUTING.md>`_

  - `Issues <https://github.com/python-pillow/Pillow/issues>`_
  - `Pull requests <https://github.com/python-pillow/Pillow/pulls>`_

- `Changelog <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst>`_

  - `Pre-fork <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#pre-fork>`_