Sha256: 940ed51908a04a9fd56d2976cd4e25c89b260612cd99ef960e942facfeee1f13

Contents?: true

Size: 950 Bytes

Versions: 2

Compression:

Stored size: 950 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

2 entries across 2 versions & 1 rubygems

Version Path
licensed-3.5.0 docs/sources/pip.md
licensed-3.4.4 docs/sources/pip.md