Commit Graph

474 Commits

Author SHA1 Message Date
wiredfool
3f6db91ccc Fixed typo in version 2017-01-02 03:45:39 -08:00
wiredfool
a021d4978d 4.0.0 version bump 2017-01-01 20:20:06 +00:00
Andrew Murray
a06dd59df7 Added context managers 2016-12-28 09:54:10 +11:00
Andrew Murray
d4a6e07367 Added documentation for Python 3.6 support 2016-12-27 02:28:11 -08:00
wiredfool
80b78be21a Merge pull request #2199 from jdufresne/dep-olefile
Remove vendored version of olefile Python package in favor of upstream
2016-12-13 20:12:29 +00:00
Alexander
9c38253733 set executable flag on setup.py and add shebang 2016-12-04 18:59:53 +03:00
Jon Dufresne
52b1f46b12 Deprecate vendored version of olefile Python package in favor of upstream
Pillow now requires the olefile Python package through setup.py.

This removes Pillow's maintenance of this library by instead relying on
and reusing the upstream version. No longer need to regularly update the
vendored package and docs. olefile bug fixes and features can go
directly upstream.

During travis tests, now installs Pillow package before tests; this will
also install all dependencies (currently, only olefile).
2016-11-22 18:17:31 -08:00
Jon Dufresne
85cf6d3140 Drop support for Python 3.2 2016-11-22 04:24:40 -08:00
Jon Dufresne
dbe9f85c7d Drop support for Python 2.6
* Drop unittest2 requirement
* Use set literals
* Use dict/set comprehension
* Use str.format() automatic numbering
2016-11-22 04:23:55 -08:00
wiredfool
70c2df21ca Merge pull request #2213 from wiredfool/setup
Raise custom exceptions when required/requested items are not found
2016-11-22 12:14:57 +00:00
Jon Dufresne
ffa5bc2726 Use generator expressions instead of list comprehension
Avoids unnecessary temporary lists in memory.
2016-11-14 18:11:15 -08:00
wiredfool
8b596600af renamed Default->Required dependency exception 2016-11-11 09:12:07 -08:00
wiredfool
015e8cc266 raise custom exceptions when required/requested items are not found 2016-11-11 09:09:19 -08:00
wiredfool
915dd05f22 Merge pull request #2208 from jdufresne/setup-py-open
Close file in setup.py after finished reading
2016-11-11 16:58:59 +00:00
Rok Garbas
993969790b optionaly use pkg-config (when present) to detect *_ROOTs
* only run pkg-config when building exttensions
* print debug messages when using pkg-config
* silance error from pkg-config by default
* first search for libtiff-5 then libtiff-4
2016-11-11 08:33:58 -08:00
Jon Dufresne
e2e4d180f9 Close file in setup.py after finished reading
Fixes a "ResourceWarning: unclosed file" during tests.
2016-11-08 17:55:46 -08:00
Jon Dufresne
e44bb42ae9 Replace type() equality checks with isinstance 2016-10-31 06:41:43 -07:00
Andrew Murray
0be156936a Updated setup url to https 2016-10-23 12:44:23 +11:00
wiredfool
35e1237b7e 3.5.0.dev0 Dev Version bump 2016-10-04 00:18:33 -07:00
wiredfool
ac5a212cee 3.4.0 Release Version bump 2016-10-03 08:00:29 -07:00
Tim Graham
0c66b80a95 Fix "invalid escape sequence" warning in Python 3.6
http://bugs.python.org/issue27364
2016-09-27 19:26:57 -04:00
Robert Nix
18a91cebcf Move DDS decoders to C
- Fixed inaccurate BC1/BC3 texture decoding
2016-08-25 19:27:48 -05:00
homm
1ba4e9e5ba remove end of file banner from all files 2016-07-10 14:11:28 +03:00
wiredfool
2023c7cea1 Version 3.4.0.pre version bump 2016-07-01 07:20:31 -07:00
wiredfool
4f4c982229 3.3.0 Release Version Bump 2016-07-01 05:57:19 -07:00
wiredfool
b152d99d66 refactor to different file 2016-06-27 00:58:06 -07:00
wiredfool
d3b0413780 Initial take for removing the Incremental decoder due to threading issues. J2k tests pass, other tests fail 2016-06-27 00:58:05 -07:00
wiredfool
eb28cc9d0f Merge pull request #1932 from matthew-brett/run-time-tcl-tk
RF: run-time loading of Tcl / Tk functions
2016-06-11 15:27:29 +01:00
wiredfool
ac51f1ee37 Fixes to run cleanly on alpine linux 2016-05-30 06:28:08 -07:00
Matthew Brett
659e294676 RF: run-time loading of Tcl / Tk functions
Discover Tcl / Tk functions at run-time by looking in libs loaded by
Tkinter Python module.

Use header excerpts from Tcl / Tk so we don't need an installed Tcl / Tk
to build.
2016-05-27 16:51:08 -04:00
wiredfool
3657bc10a6 Merge pull request #1889 from rr-/libpngquant
Add libimagequant support in quantize()
2016-05-26 21:12:25 +01:00
wiredfool
f0fee4bec4 Merge pull request #1883 from wiredfool/pr_1768_alt
Added --disable-osx-tcltk-framework in setup.py
2016-05-23 22:40:27 +01:00
rr-
eb354be7c4 Add method=Image.LIBIMAGEQUANT for quantize() 2016-05-05 21:39:16 +02:00
wiredfool
85386c5ac7 Merge pull request #1879 from radarhere/subprocess
Replaced os.system with subprocess.call
2016-05-05 16:30:49 +01:00
Andrew Murray
31993b09ec Replaced os.system with subprocess.call 2016-05-05 06:36:08 +10:00
wiredfool
03576bd744 Added --disable-osx-tcltk-framework in setup.py 2016-05-03 20:26:58 +01:00
wiredfool
db4b41e78f Merge pull request #1875 from wiredfool/pr_1861
Disable-platform-guessing in setup.py
2016-05-03 19:53:09 +01:00
wiredfool
d7f2698718 unnest disable-platform-guessing code 2016-05-01 10:57:50 +01:00
hugovk
11b8faa761 Update RTD links https://blog.readthedocs.com/securing-subdomains/ 2016-04-28 09:35:03 +03:00
Angelo Compagnucci
ce2bb05a2b setup.py: add option to disable platform guessing
When cross-compiling (ex on Buildroot) platform guessing is not needed
cause the environment is correctly built externally.
This patch adds an option to disable platform guessing on Linux.
2016-04-25 17:03:36 +02:00
Andrew Murray
89901e089c Updated redirected URL 2016-04-16 01:09:46 +10:00
wiredfool
371e981628 Merge pull request #1823 from radarhere/classifier
Removed outdated classifier
2016-04-12 20:53:53 +01:00
Andrew Murray
dbecf25945 Removed outdated classifier 2016-04-11 00:16:02 +10:00
wiredfool
80758e1bd7 Merge pull request #1790 from wiredfool/setup_cleanup
Setup cleanup
2016-04-10 10:15:43 +01:00
wiredfool
a2bc14c526 changed docs link to https 2016-04-10 02:11:56 -07:00
Alex Clark
33ed45c762 Clean up (yapf)
Sorry, couldn't resist. As for the issues you raised, they are unfortunately not surprising. Our setup.py has to be complex, but doesn't need to be complicated. I've been trying to avoid a complete rewrite, but maybe it's time.
2016-04-09 08:11:18 -07:00
Eric Soroos
6ab84373be debug logging for setup.py 2016-04-09 08:11:18 -07:00
wiredfool
fd7fa4e61d 3.3.0.dev0 versioning 2016-04-01 07:39:35 -07:00
wiredfool
344cb709ed 3.2.0 Release Version Bump 2016-04-01 05:17:23 -07:00
Eric Soroos
999b0a1e8c file is not a variable name 2016-03-30 11:12:25 -07:00
Eric Soroos
bf2df86807 require, required, and want are not features 2016-03-30 11:12:25 -07:00
Eric Soroos
f869ecd808 Dir is not a variable name 2016-03-30 11:12:25 -07:00
Alex Clark
57d7873288 yapf-formatting for setup.py
I know folks don't universally agree on using yapf, but I've been using it a lot lately elsewhere & propose we start using it on a file-by-file basis here.
2016-03-15 07:16:22 -04:00
Alex Clark
54925c492c Update website URL [ci skip] 2016-03-15 07:15:03 -04:00
Alex Clark
6d5e7c69e6 Revert "Update website URL [ci skip]"
This reverts commit 838986349c.

OOPS, tried to sneak in yapf-formatting :-)
2016-03-15 07:14:03 -04:00
Alex Clark
838986349c Update website URL [ci skip] 2016-03-15 07:10:42 -04:00
wiredfool
ac92468808 Fix the error reported when libz is not found 2016-03-08 10:30:37 -08:00
Christoph Gohlke
0b38dbb8e2 Add Python 3.5 to classifiers 2016-01-04 11:50:03 -08:00
wiredfool
8d518a3f4d 3.2.0-dev versioning 2016-01-04 03:03:26 -08:00
wiredfool
fff5536b37 3.1.0 version 2016-01-04 02:04:23 -08:00
wiredfool
0f9f5cd8db 3.1.0-rc1 versioning 2016-01-01 16:00:32 +00:00
Benjamin Le Forestier
e5b6018b46 add include and library directories for freebsd 2015-12-27 20:43:27 +01:00
wiredfool
0cf0e948c7 Merge pull request #1499 from hugovk/remove_imagingtiff
Remove old _imagingtiff.c and pilplus stuff
2015-10-24 09:44:29 -07:00
Chris Brackert
27ced01022 Fix Exception when installing jpeg 2015-10-22 16:48:03 -07:00
hugovk
baea664477 Remove _imagingtiff.c stuff 2015-10-16 18:12:22 +03:00
Andrew Murray
9a2903bf5b Changed 32 bit to 32-bit and 64 bit to 64-bit 2015-10-15 00:49:03 +11:00
Alex Clark
a6d9452986 PEP 0440 compliance [ci skip]
``3.1.0.dev`` should be ``3.1.0.dev0`` to be compliant with PEP 0386 (which has since been superceded by PEP 0440 https://www.python.org/dev/peps/pep-0440/)
2015-10-03 18:49:49 -04:00
wiredfool
58fedea740 3.1 Dev versioning 2015-10-01 21:39:00 +01:00
wiredfool
0177cceac4 3.0 Release versioning 2015-10-01 21:39:00 +01:00
wiredfool
29601ca119 Make zlib and jpeg required by default 2015-09-22 21:07:31 +01:00
Andrew Murray
105e963505 Flake8 fixes 2015-09-11 19:28:19 +10:00
wiredfool
fc17f31626 Merge pull request #1356 from njones11/master
Add Solaris/SmartOS include and library directories
2015-09-09 22:07:55 +01:00
Andrew Murray
545154a61f Corrected scripts path 2015-09-07 19:24:39 +10:00
Andrew Murray
9e994b9e42 Changed indentation to be consistent 2015-07-28 19:59:52 +10:00
Nicholas Jones
1589052fb5 Fix setup.py for Solaris/SmartOS 2015-07-27 13:07:35 -04:00
Andrew Murray
60a3702fd5 Flake8 fix 2015-07-08 15:32:50 +10:00
Andrew Murray
7e991a8043 Allow Tcl/Tk frameworks to be disabled on OS X by setup arguments 2015-07-08 15:32:24 +10:00
Andrew Murray
d92879f379 Updated example Tcl version numbers 2015-07-08 14:04:02 +10:00
Alex Clark
93eb15bec7 Commence 3.0.0.dev0 2015-07-02 05:20:15 -04:00
Alex Clark
80672b61e8 This is 2.9.0
Fixes #1174
2015-07-01 14:33:56 -04:00
Alex Clark
445a8c06fc Bump 2015-06-30 08:04:35 -04:00
Alex Clark
96944e2dd6 Bump 2015-06-29 08:57:55 -04:00
Andrew Murray
bbf3b52357 Flake8 fixes 2015-06-20 14:46:04 +10:00
wiredfool
a92d737177 Merge pull request #1278 from wiredfool/winbuild
Windows Build/CI
2015-06-18 09:03:38 -07:00
wiredfool
cedb226ef2 Style nits 2015-06-16 13:29:30 -07:00
wiredfool
7d9a617517 Merge pull request #1214 from hugovk/setup_classifiers
Add CPython/PyPy classifiers to setup.py
2015-06-16 11:50:17 -07:00
wiredfool
fd55099ffc merge a year of master into winbuild 2015-06-10 12:49:07 -07:00
Andrew Murray
045190d3dd Removed support for FreeType 2.0 2015-06-01 18:50:37 +10:00
hugovk
cb6fa8a20f Add CPython/PyPy classifiers 2015-05-05 00:52:56 +03:00
Andrew Murray
87c4c6a72d Various Flake8 fixes to base scripts 2015-04-24 10:15:14 +10:00
Alex Clark
5cfc34b287 Begin 2.9.0 development with 2.9.0.dev0
Use PEP440 syntax to identify development branch and keep pyroma happy: https://www.python.org/dev/peps/pep-0440/#developmental-releases.
2015-04-02 14:53:49 -04:00
Alex Clark
3f09b8f171 Prep 2.8.1 2015-04-02 10:59:03 -04:00
Alex Clark
c562c55788 Camel case nit [ci skip] 2015-03-31 22:00:53 -04:00
Alex Clark
0d64171481 Configure setuptools to run nosetests, fixes #729
http://nose.readthedocs.org/en/latest/setuptools_integration.html
2015-03-31 20:22:09 -04:00
Alex Clark
860a1dedf1 Prep 2.8.0
No ci skip here because let's see CI run w/new version numbers. I'm starting to think (again) this bump should happen immediately after the release instead of right before the next? But I know @wiredfool had some objection to this at some point. As a compromise, maybe we could change to 2.9.0dev immediately following the release of 2.8.0.
2015-03-27 07:02:02 -04:00
Eric Soroos
5061f7bdde Turn off zip-safe flag for debug builds 2015-01-20 15:00:58 -08:00
wiredfool
0f05eb287a Version Bump --2.7.0 2014-12-31 20:42:57 -08:00
wiredfool
e16ee15f2c Merge pull request #997 from homm/replace-resize
Replace resize method
2014-11-27 10:26:48 -08:00
homm
bc0f896a47 rename Antialias and stretch to resample 2014-11-19 14:36:00 +03:00
homm
d49459f5b2 box blur dummy 2014-10-12 16:30:00 +04:00
wiredfool
9634e437ef Version Bump -- 2.6.0 2014-10-01 09:59:00 -07:00
wiredfool
6abc0d2f40 Version Bump - 2.6.0-rc1 2014-09-29 13:14:49 -07:00
hugovk
1de128d6b6 Merge branch 'master' into flake8 2014-09-14 10:23:51 +03:00
hugovk
1335006cd7 flake8 2014-08-28 14:44:19 +03:00
wiredfool
136345a5a5 allowing for libwebp* library names 2014-08-24 16:38:22 -07:00
wiredfool
aa105bf89d allowing for libwebp* library names 2014-08-22 17:04:26 -07:00
wiredfool
b2ea0941f7 working lcms2 build 2014-08-22 16:14:19 -07:00
wiredfool
2d634d3019 Bump Version/Changelog 2014-08-19 08:52:29 -07:00
Hugo
b56043c036 Remove 2,505-line changelog from description
It made the PyPI listing page very long and requires a lot of scrolling to get down to the files, annoying for downstream packagers.

Instead it's linked from the README. 

[CI skip]
2014-08-19 11:03:08 +03:00
David Cook
3bde04b263 setup.py: Close open file handle before deleting
When installing Pillow onto a Vagrant virtual machine with Linux as the guest OS, and Windows as the host OS, setup.py fails with the error "Text file busy." The temporary installation directory is a shared folder from the host OS, mounted in the guest OS, and the underlying Windows file system doesn't allow deleting the "multiarch" temporary file while a file handle for it is still open. This change closes the file handle once it is no longer being used, but before the file itself is unlinked.
2014-08-11 01:14:07 -05:00
Alex Clark
4b40839970 Revert "Bump"
This reverts commit 4fe5d520fb.

Hah, foiled by PEP8
2014-07-15 06:15:31 -04:00
Alex Clark
4fe5d520fb Bump
Though I hate the 'dev' designation I want something to indicate master is where development for the next major version happens. I think we've previously disagreed on simply 'X.X.X' so I'm going with 'X.X.Xdev' to see if that is more palatable. :-)
2014-07-15 06:02:34 -04:00
Alex Clark
f8b6163d9f Bump 2.4.0 -> 2.5.0 2014-07-01 07:42:50 -04:00
Alex Clark
176987f8aa Rename VERSION -> PILLOW_VERSION
Provide consistency with version variables elsewhere in package.
2014-07-01 07:39:03 -04:00
wiredfool
3e8593e1b2 Reenable mp_compile 2014-06-30 14:34:16 -07:00
cgohlke
526ac7e278 Fix build failure when compiler.include_dirs refers to nonexistent directory 2014-06-28 16:15:06 -07:00
Alex Clark ☺
c1035c2832 Merge pull request #744 from matthew-brett/py3-setup-fix
FIX: fix error for setup.py for Python 3
2014-06-28 17:47:36 -04:00
Matthew Brett
29a65c1373 FIX: fix error for setup.py for Python 3
The subprocess command in Python 3 returns a bytes object.  If the
homebrew subprocess check returns a not-empty result, then setup crashes
trying to combine the bytes with the string constants with and error
like "TypeError: Can't mix strings and bytes in path components."
2014-06-28 22:03:40 +01:00
Alex Clark
2f09622516 Top level flake8 fixes 2014-06-27 19:13:00 -04:00
wiredfool
9305e8499b Added python 3.4 2014-06-27 08:58:27 -07:00
wiredfool
c23f900250 reverted __main__ guard 2014-06-27 08:57:49 -07:00
wiredfool
2be4e9f3e5 Multithreaded build 2014-06-24 15:57:24 -07:00
hugovk
fd97d30831 flake8 on morphology changes 2014-06-24 09:34:05 +03:00
wiredfool
6dce921dad Merge branch 'master' into morphology 2014-06-23 16:21:33 -07:00
Dov Grobgeld
5fe80c6d4a Initial commit of binary morphology addon. 2014-06-04 23:03:00 +03:00
wiredfool
da1523d877 Merge from master, pre-unittest conversion 2014-06-03 14:29:16 -07:00
hugovk
c9a4272af6 Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
Eric Soroos
bc2c7bee70 Defer initialization of openjpeg_version 2014-05-30 15:47:27 -07:00
Eric Soroos
f4ddf1be97 Initialize openjpeg_version 2014-05-30 15:08:21 -07:00
Alastair Houghton
1011e51083 Added support for OpenJPEG 2.1. 2014-05-27 12:43:54 +01:00
Jack Nagel
29ddeaa81a Adjust Homebrew freetype detection logic
XQuartz ships an older freetype that still has a top-level "ft2build.h"
header file. Homebrew's freetype is newer and does not have this file,
it only has "freetype2/ft2build.h".

setup.py finds the header in XQuartz first, but Homebrew's compiler
wrappers intentionally strip out the XQuartz include paths during the
build unless the package depends on it explicitly.

We want to prefer Homebrew's freetype anyway, so if it's installed,
let's not even bother to search the XQuartz paths.
2014-05-10 10:15:39 -05:00
wiredfool
7b4768a9fa Bump all the version numbers 2014-04-02 15:25:46 -07:00
Eric Soroos
cde7e3e279 Rearrange lib directory detection, fixes #587 2014-03-31 18:59:29 +00:00
cgohlke
e7e103b1a5 Link openjpeg2 statically on Windows 2014-03-28 20:29:58 -07:00
wiredfool
7a8025b947 Merge of travis-tweaks into jpeg2k 2014-03-27 20:36:15 -07:00
wiredfool
2b81156619 merge to master 2014-03-26 18:46:35 -07:00
wiredfool
d4ecef390f Try catching the tk error in pypy 2014-03-26 13:12:20 -07:00
Alastair Houghton
5cb73c94e9 Fixed some Windows issues. 2014-03-14 14:35:09 +00:00
Alastair Houghton
61fb89ec54 Added a JPEG 2000 encoder. 2014-03-13 18:27:16 +00:00
Alastair Houghton
d6b8f0f666 Added a JPEG 2000 decoder based on OpenJPEG. 2014-03-13 11:46:47 +00:00
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
wiredfool
315503e9d5 Workaround for python issue: http://bugs.python.org/16754 in 3.2.x < 3.2.4 and 3.3.0 2013-04-23 21:09:32 -07:00
wiredfool
026f6bb61e namespaced operation works when installed as a zipped egg using 'sudo python[3] setup.py easy_install -l --zip-ok .' 2013-04-15 10:57:37 -07:00
wiredfool
8295e33390 moved _webp into the PIL namespace 2013-04-08 21:53:59 -07:00
wiredfool
c774f9ab4c merged pull request #88 to master, resolved conflicts 2013-04-08 20:31:28 -07:00
wiredfool
8c55b8305c fixed duplicate dpkg 2013-03-27 09:04:11 -07:00
Alex Clark
3b3b1d5497 Change URL to http://python-imaging.github.com/ 2013-03-15 13:42:19 -04:00
Alex Clark
10da86b601 Wording 2013-03-15 08:47:10 -04:00
user
416910dd44 Making Linux platform testing try both in case processor() returns
something stupid.
2013-03-15 04:31:16 +00:00
Alex Clark
a5a6eb1870 Rename 2013-03-14 07:25:22 -04:00
Alex Clark
e5d169a440 Clean up new lines 2013-03-14 07:07:46 -04:00
Alex Clark
2f684cf3a5 Wording, get rid of newline 2013-03-13 22:20:25 -04:00
Alex Clark
a60a987866 Move experimental notation 2013-03-13 20:43:01 -04:00
Alex Clark ☺
62bb9aaaa2 Merge pull request #98 from wiredfool/g4_support
G4 Tiff support
2013-03-13 15:41:33 -07:00
wiredfool
dd78115f0a following rename of find_library_file to _find_library_file 2013-03-13 13:40:12 -07:00
Alex Clark ☺
bb186fe516 Merge pull request #96 from lqs/master
add support for webp
2013-03-13 04:39:42 -07:00
wiredfool
7226d0dc26 Merge branch 'master' into g4_support 2013-03-12 22:24:36 -07:00
Liu Qishuai
a49ea5d326 add support for webp 2013-03-12 22:30:59 +08:00
Oliver Tonnhofer
6537ba19c3 backport PIL's PNG/Zip improvements
- add new FASTOCTREE quantizer with alpha support
- make ZIP compress level and type configurable
- support reading/writing PNGs with paletted alpha

source 3637439d51
2013-03-11 20:33:04 +01:00
wiredfool
5ba6564e26 initial merge of wiredfool/Python-Imaging-Library-G4-Tiff-Support 2013-03-08 19:51:59 -08:00
Alex Clark
deca17accd Fix setup ; wording 2013-03-08 19:47:20 -05:00
Alex Clark
3971be1b00 Revert "Do not install extension modules into sys.path"
This reverts commit 3ca5aed602.
2013-03-08 18:36:42 -05:00
Christoph Gohlke
3ca5aed602 Do not install extension modules into sys.path 2013-03-08 13:22:49 -08:00
Alex Clark
bb2871c6dd Make pyroma slightly happier 2013-03-08 09:54:43 -05:00
Alex Clark
955dfc07d3 Only test 2.6, 2.7, and 3.3 2013-03-08 09:12:06 -05:00
Alex Clark
ae17d254fc Restore orig readme and add changes to history 2013-03-08 09:00:23 -05:00
Alex Clark
6f3158528f Fix manifest 2013-03-08 08:21:12 -05:00
Alex Clark
5c9c5e45fd Master is 2.0 2013-03-06 06:14:32 -05:00
Alex Clark ☺
7866759827 Merge pull request #60 from Sapphire64/master
Py3k libraries path fix (issue #41)
2013-03-05 12:18:16 -08:00
Anton Vlasenko
c44994b78c Fixing #41 issue with Py3k libs path 2013-02-18 18:16:13 +02:00
David Schmidt
bc0e446340 removed doubled variable from setup.py 2013-01-29 15:25:55 +01:00
Mikhail Korobov
decabcf96a Fix tox test running: port selftest.py to Python 3; make it clear Python 2.5 is no longer supported (its support is broken in many ways in this branch); remove bundled doctest.py module (it is in stdlib since forever); remove extra stuff from tox.ini 2013-01-10 08:50:52 -06:00
Brian Crowell
ec961de303 py3k: Remove use_2to3 from setup.py
This is unnecessary now.
2013-01-10 08:47:04 -06:00
Brian Crowell
009eee0577 py3k: Get setup.py to run under python3
First real fix: open the temp file in text mode.
2013-01-10 08:46:34 -06:00
Alex Po
8b14c9721a Move custom path of JPEG_ROOT, TIFF_ROOT, etc. before system. 2013-01-09 15:48:06 +04:00
Tom Payne
e414c66070 Add Image.alpha_composite 2012-12-04 16:44:26 +01:00
Alex Clark
5ab5406010 Fix formatting of installation summary 2012-11-01 17:08:29 -04:00
Alex Clark
f26c5fc16d Change URL 2012-07-24 17:44:21 -04:00
Marc Abramowitz
01917a4faf Make things more Python 3 friendly. Python 3 still doesn't work because
of C code that doesn't compile with Python 3.
2012-06-12 13:48:27 -07:00
Alex Clark
9488cb1e53 Onwards 2012-04-05 23:25:24 -04:00
Alex Clark
ea0989ad17 Add sphinx docs 2012-02-16 20:10:57 -05:00
Alex Clark
f170eced0b Merge branch 'master' of github.com:collective/Pillow 2011-10-26 21:12:53 -04:00
Alex Clark
45da68c14d Prepare release 2011-10-26 21:12:43 -04:00
OCHIAI, Gouji
95a39e2a94 Fixes library paths on Mac OS X for Case sensitive file system. 2011-10-22 14:35:35 +09:00
Alex Clark
9e99408f7b Fix url 2011-09-23 22:27:58 -04:00
Alex Clark
3eeae008a7 Clean up setup summary 2011-09-07 14:28:38 -04:00
Alex Clark
163847b161 More detail 2011-09-07 14:10:25 -04:00
Alex Clark
7903d20a9d Flake8 fixes 2011-09-07 13:40:53 -04:00
Daniel Hahler
444598eaca Fix library_dirs for sys.platform="linux3". 2011-09-07 17:08:35 +03:00
Alex Clark
54e83950ce WTF is going on 2011-07-21 10:52:24 -04:00
Alex Clark
bf59b2239c Python 2.4 compat 2011-06-02 13:03:05 -04:00
Alex Clark
845bee063d On to 1.7.2 2011-05-31 12:05:21 -04:00
Alex Clark
f4fe73c4fe Add the rest of the code ;-) 2011-05-31 11:33:28 -04:00
Alex Clark
fd1a64dccd Kludge fix for multiarch support 2011-05-31 11:24:38 -04:00
Alex Clark
a55cdddb20 Prepare Pillow 1.7.0. 2011-05-27 22:40:39 -04:00
Alex Clark
8d2e0a9570 Prep 1.6 2010-12-01 14:39:00 -05:00
Alex Clark
41c7ae72f5 Fix buglet noticed by elro 2010-12-01 14:32:06 -05:00
Alex Clark
e7e322a4a3 Fix PIL module 2010-11-28 15:58:32 -05:00
Alex Clark
fc250de6e2 Actually include the PIL module 2010-11-28 15:55:38 -05:00
Alex Clark
3ca59544b7 Doc fixes 2010-11-28 15:42:59 -05:00
Alex Clark
8508f17691 Doh! Can't rename package right now I guess (due to conflicts with Pillow on PyPI) 2010-11-28 15:31:09 -05:00