direnv icon indicating copy to clipboard operation
direnv copied to clipboard

Add layout for PDM (python tool)

Open david-vicente opened this issue 3 years ago • 8 comments

An adaptation of #995 to support PDM.

david-vicente avatar Nov 26 '22 00:11 david-vicente

Isn't a selling point of pdm that it removes the need for a virtual environment?

doolio avatar Nov 28 '22 17:11 doolio

PDM can be used in both ways. You can either use virtualenvs, just like Poetry, or you can use PEP 582 which doesn't use virtualenvs. However PEP 582 is just a proposal and hasn't been adopted officially by Python yet, so PDM's default is still virtualenv based workflow.

david-vicente avatar Nov 28 '22 17:11 david-vicente

Oh that's great to hear. I'm still trying to learn all these tools.

doolio avatar Nov 28 '22 18:11 doolio

Hi, are there plans to include this ? A layout for pdm would be great !

ChauhanT avatar Jul 31 '23 20:07 ChauhanT

PEP 582 was rejected and PDM now recommends virtual environments, so I think this commit implements PDM in its desired form as-is. Given PDM seems to be used fairly commonly these days (grumble, grumble, something something python packaging ecosystem), would love to see this shipped by default with direnv.

obrienmd avatar Aug 05 '23 17:08 obrienmd

any updates on this?

domdinicola avatar Sep 28 '23 15:09 domdinicola

vote for this

tshu-w avatar Apr 28 '24 07:04 tshu-w

Hi @zimbatm, what do we need to do to get this merged?

dhensen avatar Jul 15 '24 15:07 dhensen