Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
change wheel package (example with streamlit-0.70.0)
# runs to unpack wheel to 3 subfolders: streamlit-0.70.0,, streamlit-0.70.0.dist_info
# (you can just delete or move this whl to other place now)
unzip streamlit-0.70.0-py2.py3-none-any.whl
# GO CRAZY: change whatever you need in the unpacked folder! ...
# make dir with folder name you want to pack again
mkdir streamlit-0.70.0-py2.py3-none-any
# move the 3 subfolders to the folder created
mv streamlit-0.70.0.dist_info streamlit-0.70.0 streamlit-0.70.0-py2.py3-none-any
# pack it all again to streamlit-0.70.0-py2.py3-none-any.whl
# (you will need to remove, move or rename the original one if still here)
wheel pack streamlit-0.70.0-py2.py3-none-any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment