astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
12.08k stars 425 forks source link

uninstall_cmd fix in Windows #1153

Open 250h opened 2 weeks ago

250h commented 2 weeks ago

make uninstall_cmd available in Windows

charliermarsh commented 4 days ago

Can you expand a bit on why this is necessary, and how to reproduce the current issue?

250h commented 4 days ago

Can you expand a bit on why this is necessary, and how to reproduce the current issue?

Previously I wanted to reinstall rye but found unpossible to uninstall it through the control panel on Windows. The problem is that the uninstall command registered by rye points to its directory rather than the binary itself. I modified the commands registered during the installation so that it should works proper.