Embarcadero / Lightweight-Python-Wrappers

Lightweight Wrappers based on Python4Delphi to make it easy to import Python modules into Delphi components.
MIT License
29 stars 10 forks source link

Fix Progress pip option #3

Closed peardox closed 2 years ago

peardox commented 2 years ago

If a package has the Progress option selected the current code will cause PIP to error with a message saying it needs an option - this fixes this situation by adding the correct option to the PIP resulting command.

Note... The default for PIP is to add the progress bar so this really is only effective for switching it off. Without this patch PIP will default to using a progress bar so this causes a progress bar NOT to be provided by default.

Possibly this option should be NoProgress and the on/off stings switched?

lmbelo commented 2 years ago

@peardox nice catch. Thanks to contribute :D