DEV Community


Discussion on: Automating your desktop with Ansible

agritheory profile image
Tyler Matteson

This is really close to what I use myself and I'll be using it as a starting point. I would need to add poetry, pyenv and a couple of databases. What are you using to manage Python virtual environments?

iancleary profile image
Ian Cleary (he/him) Author

I’ve switched most projects to poetry. Reference:

I previously used pipenv in conjunction with a file. Which is my preferred way for packages outside of pypi.

Before that is used venv and requirements.txt files.

For poetry, I like the single file pyproject.toml that would combine a Pipfile and a file. Forgetting to update one or the other was always a pain.

I don’t have any experience with pyenv.