mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-01 18:40:34 +03:00
Remove --dist option to create deprecated bdist_wininst installers
This commit is contained in:
parent
cb7d8d622a
commit
f136187249
|
@ -191,16 +191,14 @@ def run_one(op):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
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)
|
opts = dict(opts)
|
||||||
|
|
||||||
if "--clean" in opts:
|
if "--clean" in opts:
|
||||||
clean()
|
clean()
|
||||||
|
|
||||||
op = "install"
|
op = "install"
|
||||||
if "--dist" in opts:
|
if "--wheel" in opts:
|
||||||
op = "bdist_wininst --user-access-control=auto"
|
|
||||||
elif "--wheel" in opts:
|
|
||||||
op = "bdist_wheel"
|
op = "bdist_wheel"
|
||||||
|
|
||||||
if "PYTHON" in os.environ:
|
if "PYTHON" in os.environ:
|
||||||
|
|
|
@ -79,8 +79,8 @@ Building Pillow
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Once the dependencies are built, run `python build.py --clean` to
|
Once the dependencies are built, run `python build.py --clean` to
|
||||||
build and install Pillow in virtualenvs for each python
|
build and install Pillow in virtualenvs for each Python
|
||||||
build. `build.py --dist` will build Windows installers instead of
|
build. `build.py --wheel` will build wheels instead of
|
||||||
installing into virtualenvs.
|
installing into virtualenvs.
|
||||||
|
|
||||||
UNDONE -- suppressed output, what about failures.
|
UNDONE -- suppressed output, what about failures.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user