poetry-plugin-export icon indicating copy to clipboard operation
poetry-plugin-export copied to clipboard

Need option to skip index flag generation

Open theunkn0wn1 opened this issue 2 years ago • 0 comments

When generating requirements.txt, I need the ability to skip the generation of index flags.

I need to commit the generated requirements.txt to version control, which means I

  1. cannot generate the indexies with credentials
  2. need to provide the credentials externally to pip

To this end, I have pip configured on target systems with necessary credentials via the ~/.config/pip/pip.conf file.

Unfortunately, this package's generation of --index-url and --extra-index-url override this global config file, causing installation to fail.

Please Add a CLI flag to skip emitting these flags to generated requirements.txt files

theunkn0wn1 avatar Aug 23 '23 18:08 theunkn0wn1