feat(python): install packages from version control or a local directory (#6601)

A + button in the Python Packages tool window offers Install from Version Control… and Install from Disk… (with Browse), both with Install as editable (-e). A plain https://, ssh://, git:// or git@host:path URL gets pip's git+ form; git+… and other vcs+ URLs pass as they are. sdk_python_pip takes an editable flag that adds -e (pip and uv pip); text starting with - is still refused, so no other pip option can be passed.

Closes #6531

Co-authored-by: wildcatDownstairs <[email protected]>
Цей коміт міститься в:
LU XIANGRUIтаwildcatDownstairs authored and GitHub committed 2026-11-28 08:37:01 +08:00
1 джерело 3747a8a63f
коміт ddea7e5ec5
15 files changed
+237 -14

No files matched your search

+14
Переглянути файл
@@ -226,3 +226,17 @@
user-select: text;
-webkit-user-select: text;
}
.installFrom {
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.field {
display: flex;
gap: var(--space-1-5);
}
.field > :first-child {
flex: 1;
min-width: 0;
}