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
Andrew Murray
d6f19625e8
Removed support for 32-bit
2023-06-23 21:52:00 +10:00
Hugo van Kemenade
3a0881dffe
Disable extra quotes
2023-05-27 23:39:51 +03:00
Andrew Murray
053cb3de52
Fixed finding dependencies on Cygwin
2023-05-21 14:38:05 +10:00
Hugo van Kemenade
86a70fc768
Merge pull request #7068 from radarhere/ldconfig
2023-05-15 15:28:21 +03:00
Andrew Murray
6fce7d6ed4
Merge branch 'main' into include-dir-type-confusion
2023-04-10 22:49:32 +10:00
Andrew Murray
fe4e52deac
Rearranged code
2023-04-10 19:35:04 +10:00
Andrew Murray
b2b660e2c0
Removed FIXME comment
2023-04-06 18:53:28 +10:00
adisbladis
d94239ae3d
Handle polymorphic types for lib_root and include_root in setup.py
...
Depending on whether these are created by pkg_config or not they might
be a list of directories or just a string with a single directory.
2023-04-05 16:19:58 +12:00
Andrew Murray
ca2bf046d3
Use "/sbin/ldconfig" if ldconfig is not found
2023-04-05 09:57:16 +10:00
Andrew Murray
17a0a2ee3e
Removed unnecessary silencing of stderr
2023-03-31 06:14:45 +11:00
Andrew Murray
c3364a4245
Do not use absolute path for ldconfig
2023-03-30 16:55:18 +11:00
Andrew Murray
5b3d39c116
Merge pull request #6935 from radarhere/path
...
Do not raise an error if os.environ does not contain PATH
2023-03-13 00:19:38 +11:00
Andrew Murray
7670736e18
Use type hint
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-03-12 23:17:39 +11:00
Hugo van Kemenade
8ef6503801
Merge pull request #6914 from radarhere/default
2023-03-12 12:39:45 +02:00
Andrew Murray
5059e5c143
Do not raise an error if os.environ does not contain PATH
2023-02-10 08:11:50 +11:00
pre-commit-ci[bot]
24183d652e
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-06 19:27:19 +00:00
Andrew Murray
a0492f7968
Ensure that pkg-config paths are split by spaces
2023-01-28 20:17:54 +11:00
nulano
73f55b4e01
remove redundant default value
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2023-01-28 15:35:33 +11:00
Bas Couwenberg
04cf5e2cfc
Handle more than one directory returned by pkg-config.
...
tiff (4.5.0-1) in Debian results in two include directories being returned:
```
-I/usr/include/x86_64-linux-gnu -I/usr/include
```
2023-01-15 13:48:07 +01:00
Hugo van Kemenade
2ae55ccbda
Improve exception traceback readability
2022-12-30 00:07:52 +02:00
Hugo van Kemenade
3ffd2b2b8f
Double quotes for old CPython on Windows
2022-10-28 13:02:19 +03:00
Mark Mayo
69baeccf2e
some pylint warnings
...
Fixed some pylint issues
2022-10-13 15:20:11 +13:00
Hugo van Kemenade
7d8b2fb19c
Move some static config to setup.cfg
2022-09-12 10:25:18 +03:00
pre-commit-ci[bot]
aba0859db9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-07-18 06:17:10 +00:00
Andrew Murray
08db23c61c
Do not quote Pillow version for setuptools >= 60
2022-07-18 16:16:06 +10:00