astariul / github-hosted-pypi

Your own private PyPi index, github-hosted
https://astariul.github.io/github-hosted-pypi/
MIT License
183 stars 5 forks source link

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

Open astariul opened 10 months ago

astariul commented 10 months ago

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