Merge pull request #103 from radarhere/add-pyproject.toml

Wrap arguments before passing in documentation
This commit is contained in:
Hugo van Kemenade 2023-06-24 18:12:30 +03:00 committed by GitHub
commit ddd5df7351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 8 deletions

View File

@ -58,7 +58,7 @@ repos:
- id: sphinx-lint
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 0.11.2
rev: 0.12.1
hooks:
- id: pyproject-fmt

View File

@ -137,7 +137,6 @@ class RequiredDependencyException(Exception):
PLATFORM_MINGW = os.name == "nt" and "GCC" in sys.version
PLATFORM_PYPY = hasattr(sys, "pypy_version_info")
def _dbg(s, tp=None):

View File

@ -20,10 +20,10 @@ set PYTHON=C:\Python38\bin
cd /D C:\Pillow\winbuild
C:\Python39\bin\python.exe build_prepare.py -v --depends=C:\pillow-depends
build\build_dep_all.cmd
build\build_pillow.cmd install
build\build_pillow.cmd --global-option="install"
cd ..
path C:\Pillow\winbuild\build\bin;%PATH%
%PYTHON%\python.exe selftest.py
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
build\build_pillow.cmd bdist_wheel
build\build_pillow.cmd --global-option="bdist_wheel"
```

View File

@ -87,9 +87,9 @@ Building Pillow
---------------
Once the dependencies are built, run
``winbuild\build\build_pillow.cmd install`` to build and install
``winbuild\build\build_pillow.cmd --global-option="install"`` to build and install
Pillow for the selected version of Python.
``winbuild\build\build_pillow.cmd bdist_wheel`` will build wheels
``winbuild\build\build_pillow.cmd --global-option="bdist_wheel"`` will build wheels
instead of installing Pillow.
You can also use ``winbuild\build\build_pillow.cmd --inplace develop`` to build
@ -114,9 +114,9 @@ The following is a simplified version of the script used on AppVeyor::
cd /D C:\Pillow\winbuild
C:\Python39\bin\python.exe build_prepare.py -v --depends C:\pillow-depends
build\build_dep_all.cmd
build\build_pillow.cmd install
build\build_pillow.cmd --global-option="install"
cd ..
path C:\Pillow\winbuild\build\bin;%PATH%
%PYTHON%\python.exe selftest.py
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
build\build_pillow.cmd bdist_wheel
build\build_pillow.cmd --global-option="bdist_wheel"