Andrew Murray
72b7ab54bd
pre-commit autoupdate --freeze
2022-03-04 16:42:24 +11:00
Andrew Murray
4d1d2c9855
Merge pull request #5807 from DWesl/tkimaging-on-cygwin
...
Use the Windows method to get TCL functions on Cygwin
2021-12-30 00:08:31 +11:00
Andrew Murray
722126aa0a
Use latin1 encoding to decode bytes
2021-12-05 15:59:27 +11:00
Andrew Murray
2ce7dd5ef6
Moved macOS SDK logic into a separate method
2021-11-11 20:51:13 +11:00
Andrew Murray
3b701dcc16
Only prefer command line tools SDK on macOS over the default
2021-11-11 20:47:46 +11:00
DWesl
29b92391bc
Suggestion: use 'var in tuple' instead of chained comparisons.
2021-11-03 21:26:55 -04:00
pre-commit-ci[bot]
b542da8eb5
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-11-03 17:16:23 +00:00
DWesl
c8391aaa4b
Use the Windows functions to get TCL functions on Cygwin.
...
This is related to linking semantics, so Cygwin should follow the Windows codepath.
2021-11-03 13:03:55 -04:00
Andrew Murray
2ae150ddb9
Merge pull request #5793 from landfillbaby/patch-1
...
Fix compilation on Termux
2021-10-31 17:49:46 +11:00
pre-commit-ci[bot]
f246049c4a
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-10-24 11:39:10 +00:00
Lucy Phipps
e3c8ef980b
fix compilation on Termux
2021-10-24 12:38:13 +01:00
Hugo van Kemenade
a44e8e626d
Use declarative package configuration
2021-10-21 09:41:34 +03:00
Hugo van Kemenade
a8c18d0817
Rename master to main
2021-10-15 17:30:05 +03:00
Andrew Murray
e7270eb5a1
Prefer command line tools SDK on macOS
2021-07-21 22:45:35 +10:00
Hugo van Kemenade
e7d1b2f4cb
Add support for Python 3.10
2021-07-01 13:29:44 +03:00
Hugo van Kemenade
fdfef46460
Add Twitter to PyPI project URLs
2021-06-29 15:27:32 +03:00
Andrew Murray
b8c8375d0c
Use python3 in shebang line
2021-04-09 19:10:36 +10:00
Hugo van Kemenade
cafd389770
Merge pull request #5359 from nulano/libtiff-cmake
2021-04-01 12:03:42 +03:00
nulano
7c48f12207
add explanatory comment for USE_WIN32_FILEIO
2021-03-26 02:54:11 +01:00
nulano
f4deb4df30
compile libtiff with cmake
...
(cherry picked from commit 3f17d61fed513ac6bb569ac687c77db1564f056f)
2021-03-24 21:31:07 +01:00
nulano
e4cc42265d
add Raqm build configuration info to build summary
2021-02-27 16:52:46 +01:00
Andrew Murray
9b56833300
Merge branch 'master' into fribidi-link
2021-02-07 16:02:16 +11:00
Eric Soroos
77bf0aa673
lint off
2021-01-09 17:00:27 +01:00
Eric Soroos
3775d36398
Do fuzzing linking in setup.py options, rather than post-hoc manually linking
2021-01-09 16:47:12 +01:00
Eric Soroos
37a7c601cc
uglify
2021-01-07 13:07:28 +01:00
Eric Soroos
ffbaa6523d
Internal support for oss-fuzz testing
2021-01-07 12:55:11 +01:00
nulano
0488a2761a
can't use underscore prefix for distutils options
2021-01-05 00:07:03 +11:00
nulano
43bde01623
disable Raqm/FriBiDi vendoring by default, except in Windows tests
2021-01-05 00:07:03 +11:00
nulano
db0dad909e
test
2021-01-05 00:07:03 +11:00
nulano
834c2e5e5d
lint
2021-01-05 00:07:03 +11:00
nulano
be0d0a3a48
fix finding raqm deps
2021-01-05 00:07:03 +11:00
nulano
5cd688fc82
add option to statically link fribidi, version info
2021-01-05 00:06:29 +11:00
nulano
8bc1ff35b4
use FriBiDi shim in Raqm
2021-01-05 00:03:52 +11:00
Hugo van Kemenade
8c110b7232
Add 'Release notes' and 'Changelog' links to PyPI [CI skip]
2020-12-02 18:15:09 +02:00
Hugo van Kemenade
1b4ecdf8cd
Merge pull request #4965 from radarhere/warning
2020-11-22 23:56:46 +02:00
Hugo van Kemenade
1a66e2f338
Merge pull request #4974 from radarhere/sdk
...
Added macOS SDK install path to library and include directories
2020-10-14 16:39:10 +03:00
Hugo van Kemenade
f9852c0381
Merge branch 'master' into fix-imagingHinclude
2020-10-14 14:50:36 +03:00
Axel Huebl
115add2fa0
do not add extra include directories ( #3 )
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-10-14 01:59:34 -07:00
Andrew Murray
928e5c6e8f
Added macOS SDK install path to library and include dirs
2020-10-14 01:02:04 +11:00
Andrew Murray
c2890d1f10
Moved warning to end of execution
2020-10-12 18:38:36 +11:00
Hugo van Kemenade
6f7231eb5a
Add Trove classifier, update setup.py version check, add to tox.ini
2020-10-06 19:16:49 +03:00
Hugo van Kemenade
63d8a600cb
Merge pull request #4890 from nulano/mingw-setup
2020-09-03 21:11:39 +03:00
Hugo van Kemenade
e0eec1eb56
Merge branch 'master' into rm-3.5
2020-09-01 20:16:46 +03:00
nulano
3cabcf242f
fix libtiff in MSYS2
2020-08-30 04:31:46 +02:00
nulano
db6253c927
remove msys2 gcc workaround
2020-08-30 01:43:55 +02:00
nulano
3b38eb317b
remove legacy include directory for libimagequant
...
1) it is hardcoded to 32-bit C:\msys64\mingw32
2) current library version uses \mingw64\include\libimagequant.h directly
2020-08-30 00:57:27 +02:00
Andrew Murray
101e8f84b6
Merge pull request #4872 from hugovk/add-logo-to-readme
...
Add Pillow logo to README and PyPI
2020-08-27 19:38:28 +10:00
Hugo van Kemenade
7f711ce91a
Convert README to Markdown and add logo
...
[CI skip]
2020-08-17 10:29:52 +03:00
Andrew Murray
5aae369c94
Added homebrew zlib include directory
2020-08-06 23:14:49 +10:00
Andrew Murray
43fca3dcd3
Replaced distutils build_ext with setuptools
2020-07-31 19:14:43 +10:00
Hugo van Kemenade
10615a7da7
Upgrade Python syntax for 3.6+
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03:00
Andrew Murray
73f51ae484
Removed distutils from MinGW detection
2020-07-26 21:01:25 +10:00
Andrew Murray
7c576adb19
Simplified code
2020-07-24 19:58:17 +10:00
Hugo van Kemenade
307239b234
Replace distutils.sysconfig.get_config_var("prefix") with os.path.normpath(sys.prefix)
2020-07-21 11:23:38 +03:00
Hugo
6cdeb55118
Drop support for soon-EOL Python 3.5
2020-06-30 13:55:08 +03:00
nulano
82204d54cf
fix #2848
2020-05-24 01:07:42 +02:00
Andrew Murray
ac7848c781
Lint fix
2020-05-20 20:31:14 +10:00
Christoph Gohlke
7daca6733d
Fix ImportError on Python 3.9.0b1 for Windows
2020-05-19 15:35:32 -07:00
Hugo
dda6145fce
Since Python 3.3 IOError and WindowsError have been merged into OSError
2020-04-10 12:57:29 +03:00
Hugo van Kemenade
b5cf165f9e
Merge pull request #4260 from nulano/imagegrab_xcb
...
ImageGrab.grab() for Linux with XCB
2020-03-31 23:03:21 +03:00
Blaine Bublitz
aa2ecc9afe
Update setup.py per suggestion [ci skip]
...
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-03-31 13:04:28 -06:00
Blaine Bublitz
137566e018
Update Tidelift UTM params [ci skip]
2020-03-31 10:25:01 -07:00
nulano
f9c74825a6
xcb screengrab fixes
2020-03-24 19:40:54 +11:00
nulano
3c39e6fcf6
xcb screengrab support
2020-03-24 19:29:44 +11:00
Jon Dufresne
e1ccc296f2
Remove deprecated pytest-runner support
...
The pytest-runner package is deprecated and its use is discouraged. See:
https://github.com/pytest-dev/pytest-runner/
> pytest-runner depends on deprecated features of setuptools and relies
> on features that break security mechanisms in pip. For example
> 'setup_requires' and 'tests_require' bypass pip --require-hashes. See
> also https://github.com/pypa/setuptools/issues/1684 .
>
> It is recommended that you:
>
> - Remove 'pytest-runner' from your 'setup_requires', preferably
> removing the setup_requires option.
> - Remove 'pytest' and any other testing requirements from
> 'tests_require', preferably removing the setup_requires option.
> - Select a tool to bootstrap and then run tests such as tox
Running tests should go through the tox entrypoint.
2020-01-27 08:23:34 -08:00
Alexander
5283141417
Merge branch 'master' into reduce
2019-12-05 14:23:28 +03:00
Alexander
335f5431de
dummy method
2019-11-24 17:39:49 +03:00
Hugo
12a725988e
Merge remote-tracking branch 'upstream/master' into rm-2.7
2019-11-16 17:10:10 +02:00
Andriy Orehov
defe838917
add in a funding link for PyPi
2019-11-15 22:48:26 +02:00
Andriy Orehov
38ea1c6e03
use the more common option
...
change docs url
2019-11-15 18:25:20 +02:00
Andriy Orehov
4eccafc5da
Add Documentation and Github URLs for PyPi
2019-11-15 14:00:18 +02:00
Hugo van Kemenade
6213a70107
Improve wording
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-15 10:25:08 +02:00
Hugo van Kemenade
3007f95c05
Update wording
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-11 21:39:47 +02:00
Hugo
01b0dbd4df
Include Pillow version in Windows wheel warning
2019-11-11 16:00:17 +02:00
Hugo van Kemenade
40133cfc74
Merge branch 'master' into rm-2.7
2019-10-26 09:07:44 +03:00
Hugo
2ab518edcb
Add support for Python 3.8
2019-10-15 12:44:21 +03:00
Hugo
84e53e3757
Simplify using subprocess.DEVNULL
...
Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
2019-10-08 17:25:42 +03:00
Hugo
810b61e78f
Reinstate and simplify parallel auto-detection
2019-10-07 14:30:59 +03:00
Hugo
538d9e2e5d
Upgrade Python syntax with pyupgrade --py3-plus
2019-10-07 14:30:59 +03:00
Hugo
af770a6c55
Drop support for EOL Python 2.7
2019-10-07 14:30:59 +03:00
Hugo
cd99deff1e
Fix for Python 3.10
2019-08-18 12:32:23 +03:00
Andrew Murray
3fbea03026
Added fallback for finding ld on MinGW Cygwin
2019-08-11 07:23:08 +10:00
Jon Dufresne
d50445ff30
Introduce isort to automate import ordering and formatting
...
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.
Uses the configuration recommended by the Black to avoid conflicts of
style.
Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Alex Clark
2c041ac77e
Lint fix
2019-07-03 05:32:39 -04:00
Alex Clark
c33ffca440
Add license to setup.py for #3938
...
Also update author name and email
2019-07-03 05:29:42 -04:00
James Le Cuirot
15cd8eda09
Respect the PKG_CONFIG environment variable when building
...
This variable is commonly used by other build systems and using it can
help with cross-compiling. Falls back to "pkg-config" as before.
2019-06-30 21:52:58 +01:00
Jeffery To
4119d3015b
Include CPPFLAGS when searching for libraries
...
This adds CPPFLAGS to the list of environment variables (currently
CFLAGS and LDFLAGS) searched when looking for includes and library
directories, as CPPFLAGS may also include -I options.
2019-06-23 12:06:06 +10:00
Hugo
471220093b
Format with Black
2019-06-13 18:54:57 +03:00
Andrew Murray
303465d38a
Detect libimagequant when installed by pacman on MingW
2019-04-27 23:05:52 +10:00
hugovk
bab5d068bf
Update licence to HPND
2019-03-26 22:02:55 +02:00
hugovk
7d2319129f
Sort classifiers
2019-03-26 21:47:29 +02:00
Hugo
d6055440d5
Drop support for EOL Python 3.4
2019-01-24 23:33:14 +02:00
Jon Dufresne
eccef43837
Remove unused _tkinter var from setup.py
...
Unused since 659e294676
.
2019-01-11 20:27:44 -08:00
Hugo van Kemenade
871db4e91a
Merge pull request #3529 from pslacerda/fix/3526
...
Fix build for Termux
2019-01-05 12:03:25 +02:00
Pedro Lacerda
e09ee7a5df
Fix build for Termux
...
`_find_library_dirs_ldconfig` can return an empty list when `ldconfig` is missing, then `setup.py` can continue guessing library directories.
fixes #3526
2019-01-02 13:38:33 -03:00
Hugo
5ae6f160e1
Merge pull request #3245 from pslacerda/fix/3244
...
Lookup ld.so.cache instead of hardcoding search paths
2018-12-29 16:48:26 +02:00
Hugo
853453b934
Fix Flake8
2018-12-27 13:11:24 +02:00
Hugo
c5f066d3f6
Flake8
2018-12-26 14:05:01 +02:00
Hugo
c2b3bd5635
Merge pull request #3395 from diorcety/improve_configuration
...
Improve configuration
2018-12-26 13:54:16 +02:00
Hugo
ca691f232b
Remove XXX from comments
2018-12-26 13:09:12 +02:00