pypa / pipx

Install and Run Python Applications in Isolated Environments
https://pipx.pypa.io
MIT License
10.23k stars 411 forks source link

fix order of --global flag for MacOS #1430

Closed openrory closed 4 months ago

openrory commented 4 months ago

Summary of changes

This fixes issue #1429, the last step in the process of installing pipx for MacOS where it fails due to the --global flag being in the wrong order.

Test plan

  1. uninstall pipx
  2. install pipx in MacOS
  3. use sudo pipx --global ensurepath instead of sudo pipx ensurepath --global

Tested by running

sudo pipx --global ensurepath
chrysle commented 4 months ago

Thanks, but this was already fixed in #1397, which makes the current flag order possible.