saltstack / relenv

Re-producible and Re-relocatable Python Environments
Apache License 2.0
25 stars 16 forks source link

Do not bark when scripts dir exists already #136

Closed dwoz closed 1 year ago

dwoz commented 1 year ago

Works around bug in pip._internal.commands.install.InstallCommand._handle_target_dir when installing scripts with the --target options.

When installing using target we expect the scripts directory to exist. Handle this case explicitly.

Fixes #138 Fixes saltstack/salt#64662