TriggerMail / rules_pyz

Bazel Python rules that package everything in an executable zip
Apache License 2.0
29 stars 19 forks source link

Use PyPI API for `pip_generate_wrapper` #51

Open joshburkart opened 5 years ago

joshburkart commented 5 years ago

Seems like we could just query the PyPI JSON API, instead of manually invoking the pip command line tool and parsing the generated wheels. Thoughts?

E.g.: https://pypi.org/pypi/attrs/18.1.0/json