DEV Community

loading...

Discussion on: Automating your desktop with Ansible

Collapse
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?

Collapse
iancleary profile image
Ian Cleary (he/him) Author

I’ve switched most projects to poetry. Reference: github.com/iancleary/pypackage

I previously used pipenv in conjunction with a setup.py 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 setup.py file. Forgetting to update one or the other was always a pain.

I don’t have any experience with pyenv.