Replies: 3 comments
-
Totally fine with that change. I don't use Windows and so don't really care about it, but obviously (to me at least) it would be better if Windows' paths had the version number in them as well. |
Beta Was this translation helpful? Give feedback.
-
I have nothing against that (seems like a common thing, as you point in the article), but I generally don't use that feature either. I very, very rarely enter subdirectories in my own projects, and run everything from the root of the repository, using make or other task runners. |
Beta Was this translation helpful? Give feedback.
-
YES. For once, I have a strong opinion on this. At least, IMO, it should be disabled by default, and an option could tell PDM to enable it. My reasoning is: isolation above all. If I want to use the fictive EDIT: I've resolved the following issue, don't pay attention to it. To back this up, I recently had a new contributor on a project, and he got errors running my linting task because he had flake8 installed globally with additional plugins, and they were leaking into the project. Very bad developer experience IMO 😕 What I don't understand is that the help message of UPDATE: found the explanation.
It means one must be very careful how they run commands/tasks, because depending on how you invoke a module/script, the interpreter site-packages could leak into the current environment. I'll have to run some tests with my task runner to find a way and make sure that never happens again 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hey @frostming, I've read your "New developments in Python packaging" article (translated to english), and I wanted to answer here to the questions you ask the readers.
First, it's delightful to hear that PEP582 has progressed (lets hope in the right direction). Being able to install with
pip install --prefix __pypackages__
would be very nice (I've been usingpip install -t __pypackages__/3.X/lib
before, with the limitations it has).I'll add a comment for each point I want to comment on, to enable a threaded discussion 🙂
Beta Was this translation helpful? Give feedback.
All reactions