astral-sh / rye

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

Print message when executing `rye build` on a virtual project #1213

Closed pandaxtc closed 2 months ago

pandaxtc commented 2 months ago

It might be helpful to log some kind of message when rye build is executed in a virtual project. The current behavior of silently exiting may be confusing if one doesn't understand what virtual does or has forgotten/hasn't noticed that the project is virtual. This tripped me up for a moment today, and I found https://github.com/astral-sh/rye/issues/1204 as well.

nazq commented 2 months ago

Put in this simple PR for this issue, I hit this some time back and it took me a min to figure out what was happening https://github.com/astral-sh/rye/pull/1227

charliermarsh commented 2 months ago

Closed by https://github.com/astral-sh/rye/pull/1227.