import "go.chromium.org/luci/vpython/wheel"
WriteRequirementsFile writes a valid "requirements.txt"-style pip requirements file containing the supplied wheels.
The generated requirements will request the exact wheel senver version (using "==").
type Name struct { Distribution string Version string BuildTag string PythonTag string ABITag string PlatformTag string }
Name is a parsed Python wheel name, defined here:
{distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-\ {platform tag}.whl .
ParseName parses a wheel Name from its filename.
ScanDir identifies all wheel files in the immediate directory dir and returns their parsed wheel names.
Package wheel imports 5 packages (graph) and is imported by 2 packages. Updated 2018-08-14. Refresh now. Tools for package owners.