mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-10 07:14:46 +03:00
Merge pull request #103 from radarhere/add-pyproject.toml
Wrap arguments before passing in documentation
This commit is contained in:
commit
ddd5df7351
|
@ -58,7 +58,7 @@ repos:
|
||||||
- id: sphinx-lint
|
- id: sphinx-lint
|
||||||
|
|
||||||
- repo: https://github.com/tox-dev/pyproject-fmt
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
||||||
rev: 0.11.2
|
rev: 0.12.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyproject-fmt
|
- id: pyproject-fmt
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -137,7 +137,6 @@ class RequiredDependencyException(Exception):
|
||||||
|
|
||||||
|
|
||||||
PLATFORM_MINGW = os.name == "nt" and "GCC" in sys.version
|
PLATFORM_MINGW = os.name == "nt" and "GCC" in sys.version
|
||||||
PLATFORM_PYPY = hasattr(sys, "pypy_version_info")
|
|
||||||
|
|
||||||
|
|
||||||
def _dbg(s, tp=None):
|
def _dbg(s, tp=None):
|
||||||
|
|
|
@ -20,10 +20,10 @@ set PYTHON=C:\Python38\bin
|
||||||
cd /D C:\Pillow\winbuild
|
cd /D C:\Pillow\winbuild
|
||||||
C:\Python39\bin\python.exe build_prepare.py -v --depends=C:\pillow-depends
|
C:\Python39\bin\python.exe build_prepare.py -v --depends=C:\pillow-depends
|
||||||
build\build_dep_all.cmd
|
build\build_dep_all.cmd
|
||||||
build\build_pillow.cmd install
|
build\build_pillow.cmd --global-option="install"
|
||||||
cd ..
|
cd ..
|
||||||
path C:\Pillow\winbuild\build\bin;%PATH%
|
path C:\Pillow\winbuild\build\bin;%PATH%
|
||||||
%PYTHON%\python.exe selftest.py
|
%PYTHON%\python.exe selftest.py
|
||||||
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
|
%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"
|
||||||
```
|
```
|
||||||
|
|
|
@ -87,9 +87,9 @@ Building Pillow
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Once the dependencies are built, run
|
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.
|
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.
|
instead of installing Pillow.
|
||||||
|
|
||||||
You can also use ``winbuild\build\build_pillow.cmd --inplace develop`` to build
|
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
|
cd /D C:\Pillow\winbuild
|
||||||
C:\Python39\bin\python.exe build_prepare.py -v --depends C:\pillow-depends
|
C:\Python39\bin\python.exe build_prepare.py -v --depends C:\pillow-depends
|
||||||
build\build_dep_all.cmd
|
build\build_dep_all.cmd
|
||||||
build\build_pillow.cmd install
|
build\build_pillow.cmd --global-option="install"
|
||||||
cd ..
|
cd ..
|
||||||
path C:\Pillow\winbuild\build\bin;%PATH%
|
path C:\Pillow\winbuild\build\bin;%PATH%
|
||||||
%PYTHON%\python.exe selftest.py
|
%PYTHON%\python.exe selftest.py
|
||||||
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
|
%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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user