mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-12-26 12:18:39 +01:00
3 lines
301 B
Plaintext
3 lines
301 B
Plaintext
export VERSION=$(wget -q https://pypi.org/pypi/${PACKAGENAME}/json -O - | grep -oP "\"version\":\"\d+\.\d+\.+\d+\"" -o | cut -d \" -f 4)
|
|
export DL_URL=$(wget -q https://pypi.org/pypi/${PACKAGENAME}/json -O - | grep -oP "\"url\":\".{1,150}${VERSION}-py\d-none-any.whl\"" | cut -d \" -f 4 | head -n -1)
|