mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
feat: add Python dependency parsing with extras support
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user