Replies: 1 comment 3 replies
-
An editable install is not real editable most of time, there are quite a few scenarios that it needs re-installation:
This is why install self is made the default and you can turn it off by |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The "pdm sync" command synchronizes the packages that fit in the current env. But it keeps install the project itself in editable mode every time despite it already being installed.
And consider the scenario of project needed to build some components like C extensions, maybe we can add a new CLI flag called "---force-install-self" to indicate itself needs to be installed every time.
So without the flag, "pdm sync" will no install project itself if it is installed. (plus, with --no-editable will do install)
Beta Was this translation helpful? Give feedback.
All reactions