python-brewer
python-brewer copied to clipboard
Find packages from a custom index
I added an argument to specify a custom PyPI index—useful for settings where you're hosting your own simple repository and need packages that aren't on the public index.
Other minor changes here include:
-
fetch_pypi_package_fileswill find all links on the project page, which allows it to work on simple repos that follow PEP 503 but nest their links in another element - if the index provides relative URLs to downloads, they will be make absolute using
urljoin