Skip to main content

Pipenv

Pipenv

The Pipenv package manager for Python.

Configuration​

Example​

Use the following syntax to configure this plugin globally as part of config.yml:

ort:
analyzer:
packageManagers:
Pipenv:
options:
analyzeSetupPyInsecurely: true
operatingSystem: linux
pythonVersion: <OPTIONAL_STRING>

Use the following syntax to configure this plugin in a repository's .ort.yml:

analyzer:
package_managers:
Pipenv:
options:
analyzeSetupPyInsecurely: true
operatingSystem: linux
pythonVersion: <OPTIONAL_STRING>

If the plugin is configured in both locations, the configurations are merged, with options from .ort.yml taking precedence over those from config.yml.

Options​

analyzeSetupPyInsecurely​

BOOLEAN Default

If "true", python-inspector resolves dependencies from setup.py files by executing them. This is a potential security risk.

operatingSystem​

ENUM Default

Possible values: linux, macos, windows

The name of the operating system to resolve dependencies for. One of "linux", "macos", or "windows".

pythonVersion​

STRING

The Python version to resolve dependencies for. If not set, the version is detected from the environment and if that fails, the default version is used.