From 27c207bbcaee3cafb738ddd8e398e10030488d97 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 17 Aug 2020 10:03:46 -0400 Subject: [PATCH] pkg: add a new type to identify setup.py packages Signed-off-by: Alfredo Deza --- syft/pkg/type.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syft/pkg/type.go b/syft/pkg/type.go index e57be7836..3c43d0613 100644 --- a/syft/pkg/type.go +++ b/syft/pkg/type.go @@ -16,6 +16,7 @@ const ( NpmPkg Type = "npm" YarnPkg Type = "yarn" PythonRequirementsPkg Type = "python-requirements" + PythonSetupPkg Type = "python-setup" JavaPkg Type = "java-archive" JenkinsPluginPkg Type = "jenkins-plugin" GoModulePkg Type = "go-module" @@ -32,6 +33,7 @@ var AllPkgs = []Type{ NpmPkg, YarnPkg, PythonRequirementsPkg, + PythonSetupPkg, JavaPkg, JenkinsPluginPkg, GoModulePkg,