Commit Graph

517 Commits

Author SHA1 Message Date
Andrew Murray
e76fcd5b2e Merge branch 'main' into mode_enums 2025-01-23 22:21:21 +11:00
Hugo van Kemenade
dc84811cae
Merge pull request #8551 from radarhere/guessing 2024-12-27 21:41:47 +02:00
Andrew Murray
1d15ce8c49 Updated build option error messages 2024-11-30 23:17:42 +11:00
Hugo van Kemenade
0995305eb4
Merge pull request #8497 from freakboy3742/homebrew-isolation 2024-11-18 12:17:40 +02:00
Andrew Murray
6fa775e324 Platform guessing affects more than just Linux 2024-11-12 22:46:24 +11:00
Andrew Murray
378df7a5b2 Disable platform guessing instead of adding dependencies-prefix 2024-11-12 22:41:57 +11:00
Andrew Murray
a01c31a1a3
Merge pull request #8519 from cubanpit/patch-1
Allow linking to zlib import library on Windows
2024-11-09 14:08:44 +11:00
Andrew Murray
4427767f2d
Merge branch 'main' into mode_enums 2024-11-06 21:11:47 +11:00
Russell Keith-Magee
904416bda1
Merge branch 'main' into homebrew-isolation 2024-11-06 14:33:25 +08:00
Pietro F. Fontana
a1d862f1d6
Be more specific in comment
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-11-05 15:39:03 +01:00
Andrew Murray
2d23a84049 Fixed type hint 2024-11-05 17:18:46 +11:00
Pietro F. Fontana
aae90c3c01
Allow linking to shared zlib
If compiled as shared library zlib produces `zlib1.dll` and `zdll.lib`.
2024-11-01 15:42:08 +01:00
Russell Keith-Magee
6d137043f7
Remove stray debug. 2024-10-29 10:01:46 +08:00
Russell Keith-Magee
c74a5bdd85
Correct paths used for Linux build. 2024-10-29 09:02:05 +08:00
Russell Keith-Magee
08554684b3
Revert fribidi/raqm changes for macOS builds. 2024-10-29 07:48:07 +08:00
Andrew Murray
3e4be4b235
Merge branch 'main' into homebrew-isolation 2024-10-29 09:52:29 +11:00
Yay295
f7b57265ad require types-setuptools>=75.2.0
this is necessary to have https://github.com/python/typeshed/pull/12791
2024-10-28 10:17:04 -05:00
Yay295
96421923eb use mode enums in _imagingcms.c 2024-10-28 10:17:03 -05:00
Yay295
0d3c59e277 build Mode.c as a common library 2024-10-28 10:17:03 -05:00
Yay295
c889643b7e use a different temp build dir for each module 2024-10-28 10:17:03 -05:00
Yay295
3b33a2c1bb add Mode.c as a dependency for _imagingft.c and _webp.c 2024-10-28 10:17:02 -05:00
Yay295
abe3dfb18f use a struct for mode names instead of just a string 2024-10-28 09:58:19 -05:00
Russell Keith-Magee
0fe55d6115
Isolate macOS build from Homebrew. 2024-10-25 09:53:06 +08:00
Andrew Murray
7c194b54ef Fixed disabling a feature 2024-10-16 21:37:14 +11:00
Andrew Murray
1105256f2b Added type hints to setup.py 2024-09-07 18:25:44 +10:00
Andrew Murray
f3aec6dd38 Simplified code 2024-08-13 19:05:32 +10:00
Aleksandr Karpinskii
a3468996c0 Remove webp animations flags and conditions
Removed:
_webp.WebPDecode
_webp.HAVE_WEBPANIM
features.webp_anim
2024-08-13 09:33:20 +04:00
Aleksandr Karpinskii
c1e8375af8 Require webpmux and webpdemux 2024-08-13 09:24:52 +04:00
Hugo van Kemenade
4eec24a380 Increment Python version check on Windows
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-02 21:52:43 +03:00
Andrew Murray
ed5e8f91c5 Use pkg-config to help find libwebp and raqm 2024-06-15 19:11:11 +10:00
Andrew Murray
57399ce204 Parse _version contents instead of using exec() 2024-05-10 22:43:56 +10:00
Andrew Murray
66d32a7dff Updated installation links 2024-04-16 07:03:56 +10:00
Hugo van Kemenade
0b1d0c23de
Merge pull request #7658 from nulano/build-editable 2024-03-30 11:10:46 +02:00
Andrew Murray
e6fa5dff63 Append custom parameter to the end of sys.argv 2024-03-28 17:40:54 +00:00
Andrew Murray
24865e5832 Turn off nullability warnings for macOS SDK 2024-02-23 23:50:36 +11:00
Andrew Murray
bf9ba35b20
Merge branch 'main' into build-editable 2024-02-15 11:12:17 +11:00
Hugo van Kemenade
0669532898 Remove shebangs 2024-01-29 18:43:03 +02:00
Hugo van Kemenade
529487c244 Remove execute bit from setup.py 2024-01-29 16:48:39 +02:00
Nulano
f27b838a45 support multiple --config-settings 2024-01-02 15:48:37 +01:00
Nulano
8070fe10f1 pass build config before setuptools command; add build_editable to custom build backend 2024-01-02 15:37:32 +01:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Christian Clauss
fd59f91d17 ruff: Minor optimizations of list comprehensions, x in set, etc. 2023-11-06 19:13:47 +06:00
Hugo van Kemenade
5fb892a9e2 Move version from setup.py to pyproject.toml 2023-10-22 20:35:21 +03:00
Andrew Murray
414694e190 Increment Python version check to support Python 3.12 2023-07-13 17:21:06 +10:00
Rudi Heitbaum
d17947e802 Fix missing symbols as libtiff can depend on libjpeg
when compiling Pillow with libtiff and libjpeg (with jpeg12 enabled -
which is the default with libjpeg-3.0.0) the libtiff object
tif_jpeg_12.c.o uses the following libjpeg12 functions:
jpeg12_read_raw_data, jpeg12_read_scanlines, jpeg12_write_raw_data,
jpeg12_write_scanlines.

update the ordering of libs.append(feature.tiff) to be before
libs.append(feature.jpeg) to allow the linker to include the required
functions.

this issue occurs when the libtiff and libjpeg libraries are static
(not shared.)

Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
2023-07-08 12:46:34 +00:00
Andrew Murray
b2d7f1e899
Merge branch 'main' into add-pyproject.toml 2023-06-28 17:44:08 +10:00
Andrew Murray
45c9dcf123 Restored 32-bit support 2023-06-27 14:43:58 +10:00
Andrew Murray
10ad87cd2d
Merge branch 'main' into add-pyproject.toml 2023-06-25 07:14:01 +10:00
Andrew Murray
25c24a8a91
Removed unused code
(cherry picked from commit 600b823de6)
2023-06-24 15:54:07 +01:00
nulano
c068af7630
Merge remote-tracking branch 'upstream/main' into add-pyproject.toml
# Conflicts:
#	pyproject.toml
2023-06-24 13:30:15 +01:00