4 ms·
I use pipenv for this. I found it sometimes annoying but generally sufficient. Pyenv and pip both seemed too weak or complex. Pipenv was just simple. I would on
by landon32 8y ago
I use pipenv for this. I found it sometimes annoying but generally sufficient. Pyenv and pip both seemed too weak or complex. Pipenv was just simple. I would only write code within my pipenv environment, and then when I deployed the code pipenv would handle package management safely.
Never did anything huge with it though. Just small web apps hosted on pythonanywhere.
- dserodio 8y agoSpecifying dependencies when you're writing a library is still a mess, because pipenv isn't recommended for libraries. npm works the same way for both apps and libraries.
- mcintyre1994 8y agoI saw poetry mentioned a few days ago. Haven't tried it yet but it tries to fix this: https://github.com/sdispater/poetry https://github.com/sdispater/poetry
- mintplant 8y agoYes, I've uses poetry and it's great. I think it and the pyproject.toml standard will become the solutions to all the problems stated above.