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:
operatingSystem: The name of the operating system to resolve dependencies for. One of "linux", "macos", or "windows". Defaults to "linux".
pythonVersion: The Python version to resolve dependencies for. Defaults to "3.10".
-
-
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 StringPYPROJECT_FILENAMEprivate final FileanalysisRootprivate final AnalyzerConfigurationanalyzerConfigprivate final Excludesexcludesprivate final StringmanagerNameprivate 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
findPackageManagerDependencies, getAnalysisRoot, getAnalyzerConfig, getExcludes, getManagerName, getRepoConfig, mapDefinitionFiles, resolveDependencies -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-