feat: add Python dependency parsing with extras support

This commit is contained in:
Sahilb315
2025-05-22 02:05:34 +05:30
parent 0b4729f18b
commit 216657afef
6 changed files with 178 additions and 383 deletions
+5
View File
@@ -13,6 +13,11 @@ type Command struct {
type PackageInstallTarget struct {
PackageVersion *packagev1.PackageVersion
// Extras specifies additional features to be installed with a Python package
// Example: "django[mysql,redis]" has Extras as ["mysql", "redis"]
// Currently only specific to Python packages
Extras []string
}
func (pit *PackageInstallTarget) HasVersion() bool {