Sha256: e57c4063b201d7bf925d72ed55e3c0862532589d014d284260a5dafeb2886915

Contents?: true

Size: 883 Bytes

Versions: 9

Compression:

Stored size: 883 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.
An example usage of this might look like:
```yaml
python:
    virtual_env_dir:"/path/to/your/venv_dir"
```

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
licensed-1.5.1 docs/sources/pip.md
licensed-1.4.0 docs/sources/pip.md
licensed-1.3.4 docs/sources/pip.md
licensed-1.3.3 docs/sources/pip.md
licensed-1.3.2 docs/sources/pip.md
licensed-1.3.1 docs/sources/pip.md
licensed-1.3.0 docs/sources/pip.md
licensed-1.2.0 docs/sources/pip.md
licensed-1.1.0 docs/sources/pip.md