Merge pull request #4029 from hugovk/rm-deprecated-bdist_wininst

No more deprecated bdist_wininst .exe installers
This commit is contained in:
Hugo van Kemenade 2019-09-05 23:46:29 +03:00 committed by GitHub
commit 397a26b0ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -191,16 +191,14 @@ def run_one(op):
if __name__ == "__main__":
opts, args = getopt.getopt(sys.argv[1:], "", ["clean", "dist", "wheel"])
opts, args = getopt.getopt(sys.argv[1:], "", ["clean", "wheel"])
opts = dict(opts)
if "--clean" in opts:
clean()
op = "install"
if "--dist" in opts:
op = "bdist_wininst --user-access-control=auto"
elif "--wheel" in opts:
if "--wheel" in opts:
op = "bdist_wheel"
if "PYTHON" in os.environ:

View File

@ -79,8 +79,8 @@ Building Pillow
---------------
Once the dependencies are built, run `python build.py --clean` to
build and install Pillow in virtualenvs for each python
build. `build.py --dist` will build Windows installers instead of
build and install Pillow in virtualenvs for each Python
build. `build.py --wheel` will build wheels instead of
installing into virtualenvs.
UNDONE -- suppressed output, what about failures.