Re:PDM: A Modern Python Package Manager
by majormunky on Thursday December 09, 2021 @04:42PM
(#29503341)
So this is sort of like a virtualenv, except you don't need to activate anything, it just looks within the main project folder for a __pypackages__ folder, and uses that to look for packages
I use pipenv
Pipenv is only focused on solving one problem, deploying complete packages you wrote to a server you have complete control over. It doesn't really care about the problem of developing applications and libraries for distribution and installation by third parties and on platforms running different python version/OS etc. than what it was developed on.
Re:PDM: A Modern Python Package Manager
by bruiseralmighty on Thursday December 09, 2021 @04:24PM
(#29503140)
I use only virtualenv and have never really had any issues with it for separating out my project environments.
Perhaps this is more of an issue with larger projects, but I also noticed that 'no need to use virtualenv' as a positive.
Re:PDM: A Modern Python Package Manager
by qbasic_forever on Thursday December 09, 2021 @04:20PM
(#29503105)
You kind of answered your own question. Virtualenv alone is too much work so you're using a tool like pipenv to streamline it. This is a similar idea to have less ritual and a faster developer workflow.
Re:PDM: A Modern Python Package Manager
by johnhowardstein on Thursday December 09, 2021 @04:26PM
(#29503174)
It's a single command more, and then you don't need to prefix everything with pipenv run.
Also when deploying to kubernetes or whatever it works the same way