diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-03-28 00:26:03 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-07-02 10:08:00 +0900 |
commit | f0190a5dcdc1882e5a058dc7f12bc7ccb166c63d (patch) | |
tree | e526adbc703cf8f92a74299703d8553d85795815 /release.nix | |
parent | c799ad7276dcc771912f4fc7edca400ea48b8ec2 (diff) | |
download | guix-f0190a5dcdc1882e5a058dc7f12bc7ccb166c63d.tar.gz guix-f0190a5dcdc1882e5a058dc7f12bc7ccb166c63d.zip |
import: pypi: Parse wheel METADATA instead of metadata.json.
With newer Wheel releases, there is no more metadata.json file; the METADATA
file should be used instead (see: https://github.com/pypa/wheel/issues/195).
This change updates our PyPI importer so that it uses the latter.
* guix/import/pypi.scm (define-module): Remove unnecessary modules and export
the PARSE-WHEEL-METADATA procedure.
(parse-wheel-metadata): Add procedure.
(guess-requirements): Use it.
* tests/pypi.scm (test-metadata): Test it.
Diffstat (limited to 'release.nix')
0 files changed, 0 insertions, 0 deletions