Commit Graph

134 Commits

Author SHA1 Message Date
Christian E. Hopps
2867d203cf Handle 32bit compiled python on 64bit architecture
platforma.processor() will return x86_64 on a 64 bit linux system;
however, this it wrong for 32 bit compiled python. By looking at
platform.architecture() first it correctly notes the 32bit
compile.
2014-02-11 15:05:09 -08:00
Alex Clark
cb309c9f59 setup: look in multiarch paths in GNU platforms
Somehow I merged pino's commit into rel_2.3 branch (which I since removed because it was confusing me). Not sure what happened, but this is his code that got lost.
2014-02-01 06:06:21 -05:00
Sandro Mani
04616ba9ea Add arch support for pcc64, s390, s390x, armv7l, aarch64 2014-01-08 11:38:53 +01:00
Eric Soroos
547c668b30 PPC platform specific library files 2014-01-07 23:34:15 +00:00
David McKeone
56ab4fd475 Prefer homebrew freetype over X11 freetype (but still allow both)
I've recently included Pillow with a py2app build of a frozen application on OS X. When Pillow is installed on a machine that has X11, the preference for X11's libfreetype causes a new dependency for my frozen app. I don't want my users to be required to install X11 if they don't have to (it's not included by default after OS X 10.8).

This PR adds a preference for homebrew's libfreetype (if available), which py2app detects and includes, and which doesn't create an X11 dependency in apps that are frozen and use Pillow (PIL).
2014-01-01 15:47:42 -07:00
cgohlke
d85b803440 Report availability of LIBTIFF during setup 2013-12-29 19:10:49 -08:00
Alex Clark ☺
289198b220 Merge pull request #442 from ohanar/path_fixes
Include and library path fixes
2013-12-28 06:09:51 -08:00
wiredfool
549a22e99a restoring byte decode to utf-8 string 2013-12-20 10:39:58 -08:00
R. Andrew Ohana
d999a8b170 setup.py: only use real paths 2013-12-11 01:20:32 -08:00
R. Andrew Ohana
3f3a7b1b06 setup.py: user specified paths and prefix should come before platform 2013-12-11 01:12:58 -08:00
R. Andrew Ohana
3d89ce2078 setup.py: CPATH is an alternative for C_INCLUDE_PATH 2013-12-11 00:58:22 -08:00
R. Andrew Ohana
3cc3548c15 setup.py: remove redundant /usr/local path line 2013-12-11 00:56:40 -08:00
Alex Clark
79603af528 Too many contributors to effectively list
This list was outdated so I'm removing it. At some point I'll do another pass
2013-12-05 05:29:18 -05:00
Alex Clark
18fe7ee519 Prepare for 2.3.0 release in < 30 days 2013-12-05 05:15:58 -05:00
Alexander Nordlund
4ab7c2a782 Adds directories for NetBSD. 2013-11-14 12:10:19 +00:00
Alex Clark ☺
55a0792815 Merge pull request #380 from wiredfool/lcms2
LCMS1 replaced with LCMS2
2013-10-16 09:09:15 -07:00
wiredfool
473f5d8fc7 Changed ''.split to tuples 2013-10-09 21:44:05 -07:00
Domen Kožar
9b6af55702 respect CFLAGS/LDFLAGS when searching for headers/libs 2013-10-07 21:43:39 +02:00
Alex Clark
3c2496e117 Bump 2013-10-02 13:07:32 -04:00
Alex Clark
b145d302d9 Wording [ci skip] 2013-10-02 13:06:06 -04:00
wiredfool
c4758452bb try/except around homebrew, fixes #356 2013-10-02 08:36:47 -07:00
wiredfool
e9e5599412 buildable, selftest registers properly 2013-10-01 23:05:56 -07:00
Alex Clark
9cb8486581 Bump all the things 2013-09-28 11:02:35 -04:00
Alex Clark
2b32882a1a Add pyroma rating 2013-09-28 09:28:16 -04:00
Alex Clark
f7393d8977 Add faux test suite
It would be great if we could start moving PIL's tests in to a proper test suite i.e. inside a Python package
2013-09-28 09:26:28 -04:00
Alex Clark
a2cca80eae Test failed
See: 6d8c6f582a
2013-09-28 08:56:44 -04:00
Alex Clark
cb4eafec17 Py3 compat 2013-09-27 17:10:38 -04:00
Alex Clark ☺
5881d67eea Merge pull request #336 from nu774/issue329
issue 329: setup.py: better support for C_INCLUDE_PATH, LD_RUN_PATH, etc...
2013-09-27 04:33:15 -07:00
Alex Clark
6404d5c1f8 Rename 2013-09-27 07:30:05 -04:00
nu774
2b8225615b issue 329: setup.py: better support for C_INCLUDE_PATH, LD_RUN_PATH, etc.
Fix to support colon separated path list, and also support INCLUDE and LIB
environment variable used by MSVC.
2013-09-27 20:19:52 +09:00
Alex Clark
6d8c6f582a Add provides PIL
Testing http://www.python.org/dev/peps/pep-0426/#provides
2013-09-27 06:27:27 -04:00
Don Spaulding
6568cb0deb Automatically discover homebrew lib/ and include/ paths if installed on OSX.
This change allows Pillow to discover installed libs on OSX when using the homebrew package manager outside of `/usr/local/`.

It relies on the commands module, which goes away in Python 3.  If it seems like a good change to add, I can switch the code over to subprocess.
2013-09-20 11:52:45 -05:00
Sean Upton
1869ed5272 Add respective paths for C_INCLUDE_PATH, LD_RUN_PATH (rpath) to build if specified as environment variables. 2013-08-26 07:35:55 -06:00
Alex Clark
e0d8a198e8 Add history [ci skip] 2013-08-21 18:29:54 -04:00
Alex Clark
2f803e653c Rename 2013-07-22 14:08:45 -04:00
Alex Clark
0884edd7f3 Rename 2013-07-22 13:47:47 -04:00
Bernardo Heynemann
b4735f7829 Adding support for metadata in webp images.
Pillow now uses the webpmux library to envelop the webp images in RIFF. This allows for easy support of exif and icc_profile metadata.

Also included tests that verify compatibility with jpeg for exif and icc_profile metadata.

If the user does not have webp with webpmux enabled, pillow will fall back to the previous approach, meaning no exif or icc_profile metadata will be read or written to.
2013-07-04 18:04:07 -03:00
Alex Clark
b4ec2f705a Clean up 2013-07-01 12:29:57 -04:00
Michał Górny
e09580e12c Introduce --enable-x and fail if it is given and x is not available. 2013-06-08 08:24:06 +02:00
Michał Górny
570c2adeaf Introduce abstraction over --disable-feature. 2013-06-08 08:24:06 +02:00
Michał Górny
810e916342 Support --disable-* switches to disable features.
For example, --disable-jpeg unconditionally disables both checks jpeg
support and checks for libjpeg.
2013-05-31 00:17:30 +02:00
Alex Clark ☺
5c11e27a97 Merge pull request #228 from d-schmidt/master
working gif optimization
2013-05-24 05:59:23 -07:00
David Schmidt
a9cb1281f4 fix Python 2 compatibility 2013-05-24 11:55:31 +02:00
wiredfool
310341cec7 merge from master 2013-05-13 09:17:52 -07:00
Alex Clark
717b9599a3 Bump 2013-05-11 20:13:16 -04:00
Alex Clark
5d38c76899 Clean up SETUP SUMMARY; remove PIL_VERSION 2013-05-11 20:12:27 -04:00
Alex Clark
79186baec7 _find_version appears unused 2013-05-11 20:01:03 -04:00
Alex Clark
714211b327 Update URL 2013-05-11 19:57:26 -04:00
Alex Clark
1e54021afc Flake8 fixes 2013-05-11 19:56:02 -04:00
Alex Clark
290e3e92a6 Wording 2013-05-08 16:06:16 -04:00