fireclawthefox / FRAME

The modular Game Editor for Panda3D
BSD 2-Clause "Simplified" License
15 stars 2 forks source link

Change way how store gathers version information #19

Closed fireclawthefox closed 6 months ago

fireclawthefox commented 1 year ago

Currently, the store collects information from PyPI via the pip command line interface.

A better way would be to call the json API provided by PyPI directly. https://warehouse.pypa.io/api-reference/json.html

Simply calling the GET /pypi/<project_name>/json will provide the necessary details in the Info > version field.

Additionally to the version, other details like description could be used to propagate other fields in the store.