Class Pip
-
- All Implemented Interfaces:
public final class Pip extends PackageManagerThe PIP package manager for Python. Also see install_requires vs requirements files and setup.py vs. requirements.txt.
This package manager supports the following options:
analyzeSetupPyInsecurely: If "true",
python-inspectorresolves dependencies from setup.py files by executing them. This is a potential security risk. Defaults to OPTION_ANALYZE_SETUP_PY_INSECURELY_DEFAULT.operatingSystem: The name of the operating system to resolve dependencies for. One of "linux", "macos", or "windows". Defaults to OPTION_OPERATING_SYSTEM_DEFAULT.
pythonVersion: The Python version to resolve dependencies for. Defaults to OPTION_PYTHON_VERSION_DEFAULT.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPip.Factory
-
Field Summary
Fields Modifier and Type Field Description public final static StringOPTION_OPERATING_SYSTEMpublic final static StringOPTION_PYTHON_VERSIONpublic final static StringOPTION_ANALYZE_SETUP_PY_INSECURELYprivate final FileanalysisRootprivate final AnalyzerConfigurationanalyzerConfigprivate final Excludesexcludesprivate final StringmanagerNameprivate final StringprojectTypeprivate final RepositoryConfigurationrepoConfig
-
Method Summary
Modifier and Type Method Description List<ProjectAnalyzerResult>resolveDependencies(File definitionFile, Map<String, String> labels)-
Methods inherited from class org.ossreviewtoolkit.analyzer.PackageManager
afterResolution, beforeResolution, findPackageManagerDependencies, getAnalysisRoot, getAnalyzerConfig, getExcludes, getManagerName, getProjectType, getRepoConfig, mapDefinitionFiles, resolveDependencies -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-