Metadata-Version: 2.1
Name: pdm-pip-index-url
Version: 0.1.0
Summary: Automatic coverter of PIP_*INDEX_URL to PDM_PYPI_* envs.
Author-email: Kamil Janiec <kamil.p.janiec@gmail.com>
License: MIT
Project-URL: repository, https://github.com/theredfoxlee/pdm-pip-index-url
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# pdm-pip-index-url

`pdm-pip-index-url` is a pdm plugin that automatically converts `PIP_*INDEX_URL` to `PDM_PYPI_*` envs.

For each pdm sub-command invocation, pdm will search for `PIP_*INDEX_URL` environment variables to convert them to coressponding `PDM_PYPI_*` values (see `process_pip_envs` in [./plugin.py](./pdm_pip_index_url/plugin.py) for detailed logic description).

## Usage

1. Install plugin: `pdm self add pdm-pip-index-url`

`pdm-pip-index-url` is compatbile with `python3.7+`.

### Logging

Turn on logging by adding `-v` to executed command, e.g.: `pdm add -v black`.
