astral-sh / rye

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

I need the option without venv #1378

Open RyosukeDTomita opened 2 weeks ago

RyosukeDTomita commented 2 weeks ago

Hi.

I think rye is more useful if there was an option to not use venv like poetry config virtualenvs.create false.

zanieb commented 2 weeks ago

Can you please share more about your use-case?

njmaeff commented 2 weeks ago

A use case could be using rye within a conda environment. I was just wondering the same thing. I installed sagemath in conda and I'd like to add some regular packages as well managed by a pyproject.toml file.

RyosukeDTomita commented 2 weeks ago

I sometimes manage python versions by python image in Docker. If I use rye to do this, it creates a venv environment that I don't need.