DEV Community

loading...

Discussion on: Let's Set Up Poetry - Clean Python DevEnv for 2020

Collapse
gui42 profile image
Guilherme Marthe

Ok, this is a great post. I never saw the point for using pipx and this post clarified it to me.

How ever, I have a problem where I use multiple python version on different projects.

Should I just install pipx + poetry for each of the pyenv versions I work with?

And this gets messed up some times, since my choice of REPL is ipython and sometimes pyenv just points to the wrong ipython, while everything is working well with the python REPL,
I guess your tutorial taught me that I can just let the venv be in the root of the project and I can just alias everything to the binaries contained in those.

:/

Collapse
kojikanao profile image
Koji (he/him) Author

Hi @gui42 ,

Thank you for reading this.
In terms of ipython, installing pipx makes sense to me.

I can just let the venv be in the root of the project and I can just alias everything to the binaries contained in those.

I think that is the way to keep your dev env clean.