Open depau opened 3 weeks ago
Thanks! Makes sense to report it here. We'll take a look.
I think this is expected/known to fail due to their use of legacy scripts
rather than console_scripts
.
Related:
I think we should probably special case them if it's feasible.
uv version:
uv 0.4.30 (61ed2a236 2024-11-04)
awslocal
on Windows doesn't seem to work properly withuv tool run --from awscli-local awslocal
The
awslocal
file is actually a script:while for other tools it looks like a
.exe
is installed, which seems to work withuv
.This is probably caused by the fact that they provide the entry scripts as a path to file, not as
module:function
.Using the provided
.bat
file does work, but it requires providing a different executable name based on the current OS and it looks like python detaches from the terminal when run from a batch script.I'm not sure whether this is a problem with awslocal or uv. I thought I'd report it here first since this usage of setuptools seems legit.