Sha256: 9d999f4264dc3a37e70d1525761dfabea20811ae2e3ec20d86eea36072495067

Contents?: true

Size: 949 Bytes

Versions: 46

Compression:

Stored size: 949 Bytes

Contents

# Pip

The pip source uses `pip` CLI commands to enumerate dependencies and properties. It is expected that `pip` is available in the `virtual_env_dir` specific directory before running `licensed`.

Your repository root should also contain a `requirements.txt` file which contains all the packages and dependences that are needed. You can generate one with `pip` using the command:
```
pip freeze > requirements.txt
```

A `virtualenv` directory is required before running `licensed`. You can setup a `virtualenv` by running the command:
```
virtualenv <your_venv_dir>
```
_note_: `<your_venv_dir>` path should be relative to the repository root or can be specified as an absolute path.

#### virtual_env_dir (Required)

The `pip` command will be sourced from this directory.
You have to add this setting to your licensed configuration file.
An example usage of this might look like:
```yaml
python:
    virtual_env_dir:"/path/to/your/venv_dir"
```

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
licensed-2.3.0 docs/sources/pip.md
licensed-2.2.0 docs/sources/pip.md
licensed-2.1.0 docs/sources/pip.md
licensed-2.0.1 docs/sources/pip.md
licensed-2.0.0 docs/sources/pip.md
licensed-1.5.2 docs/sources/pip.md