Commit Graph

329 Commits

Author SHA1 Message Date
Hugo
53e5702557 Update http to https 2017-02-14 11:27:02 +02:00
Hugo
8b2681e369 Merge pull request #2357 from radarhere/zlib
Updated zlib to 1.2.11
2017-01-19 20:51:58 +02:00
Andrew Murray
a46ce022e7 Removed warning about zlib 1.2.2 security vulnerability 2017-01-19 19:46:09 +11:00
wiredfool
c1b510c72c Merge pull request #2307 from radarhere/contextmanagers
Added context managers
2017-01-17 13:20:41 +00:00
wiredfool
296fb5fe1d 4.1.0.dev0 version bump 2017-01-02 04:06:48 -08:00
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