()
| 19 | |
| 20 | |
| 21 | def _get_package_data(): |
| 22 | json_uri = "https://pypi.org/pypi/{0}/json".format(DEBUGGER_PACKAGE) |
| 23 | # Response format: https://warehouse.readthedocs.io/api-reference/json/#project |
| 24 | # Release metadata format: https://github.com/pypa/interoperability-peps/blob/master/pep-0426-core-metadata.rst |
| 25 | with url_lib.urlopen(json_uri) as response: |
| 26 | return json.loads(response.read()) |
| 27 | |
| 28 | |
| 29 | def _get_debugger_wheel_urls(data, version): |