pypa / bandersnatch

A PyPI mirror client according to PEP 381 http://www.python.org/dev/peps/pep-0381/
Academic Free License v3.0
455 stars 141 forks source link

feature request, allow from files #736

Closed nlaurance-pyie closed 3 years ago

nlaurance-pyie commented 3 years ago

Hi,

my goal in setting up bandersnatch is to allow for projects installation in venues where internet might not be accessible. So we want an offline proxy.

we know ahead of time the required packages, either a pip freeze or pip-compile will let us build a requirements.txt

so an option to configure like

[allowlist]
files =
  requirements.txt
  development.txt
  project1.txt

would be most convenient

nlaurance-pyie commented 3 years ago

@cooperlees this is my use case