Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No more deprecated bdist_wininst .exe installers #4029

Merged
merged 1 commit into from Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions winbuild/build.py
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions winbuild/build.rst
Expand Up @@ -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.
Expand Down