astariul/github-hosted-pypi

Show dynamic `pip install` command based on the version selected

astariul opened this issue · 0 comments

Currently, the content of the package page is static, and shows only the latest stable version :

Screen Shot 2023-12-30 at 12 31 07 AM

When selecting another version, it stays the same...

Screen Shot 2023-12-30 at 12 31 48 AM


We should modify this, and display the right version, the one selected by the user. We should also update the install command so that it installs the right version, just like the official PyPi does :

Screen Shot 2023-12-30 at 12 33 36 AM