Re: Best Practice Virtual Environment

2024-10-08 Thread Left Right via Python-list
Hi. The advice here is from a perspective of someone who does this professionally, for large, highly loaded systems. This doesn't necessarily apply to your case / not to the full extent. > Debian (or even Python3 itself) doesn't allow to pip install required > packages system wide, so I have to

Re: Best Practice Virtual Environment

2024-10-06 Thread transreductionist via Python-list
byproduct.toml On Sun, Oct 6, 2024, 13:30 transreductionist wrote: > This is how we handle this problem at a large organization. > > In the repository there are a number of build scripts. For convenience we > use poetry (poetry.toml) to manage the virtual environment. A > pyproduct.toml is used

Re: Best Practice Virtual Environment

2024-10-06 Thread transreductionist via Python-list
This is how we handle this problem at a large organization. In the repository there are a number of build scripts. For convenience we use poetry (poetry.toml) to manage the virtual environment. A pyproduct.toml is used to define dependencies, how tests are run, the linter config, etc. So there a

Re: Best Practice Virtual Environment

2024-10-06 Thread Karsten Hilbert via Python-list
Am Sun, Oct 06, 2024 at 12:21:09AM +0200 schrieb Karsten Hilbert via Python-list: > Am Sat, Oct 05, 2024 at 10:27:33PM +0200 schrieb Ulrich Goebel via > Python-list: > > > Debian (or even Python3 itself) doesn't allow to pip install required > > packages system wide, so I have to use virtual en

Re: Best Practice Virtual Environment

2024-10-05 Thread Karsten Hilbert via Python-list
Am Sat, Oct 05, 2024 at 10:27:33PM +0200 schrieb Ulrich Goebel via Python-list: > Debian (or even Python3 itself) doesn't allow to pip install required > packages system wide, so I have to use virtual environments even there. But > is it right, that I have to do that for every single user? > > C

Re: Best Practice Virtual Environment

2024-10-05 Thread Thomas Passin via Python-list
On 10/5/2024 4:27 PM, Ulrich Goebel via Python-list wrote: Hi, I learned to use virtual environments where ever possible, and I learned to pip install the required packages there. That works quite nice at home. Now I come to deploy a Python script on a debian linux server, making it usable fo

Re: Best Practice Virtual Environment

2024-10-05 Thread Cameron Simpson via Python-list
On 05Oct2024 22:27, Ulrich Goebel wrote: Debian (or even Python3 itself) doesn't allow to pip install required packages system wide, This is gnerally a good thing. You might modify a critical system-used package. But is it right, that I have to do that for every single user? No. Just mak

Best Practice Virtual Environment

2024-10-05 Thread Ulrich Goebel via Python-list
Hi, I learned to use virtual environments where ever possible, and I learned to pip install the required packages there. That works quite nice at home. Now I come to deploy a Python script on a debian linux server, making it usable for a couple of users there. Debian (or even Python3 itself) d