Created
December 31, 2020 00:33
-
-
Save fernandascovino/dc5169110c21f1254e0a9b29ab39971a to your computer and use it in GitHub Desktop.
change wheel package (example with streamlit-0.70.0)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# runs to unpack wheel to 3 subfolders: streamlit-0.70.0, streamlit-0.70.0.data, 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.data 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