I am trying the "pex" format for distribution which has incredible promise. I still may be missing some configuration settings on this. Once we do get it working though, it is really a great work off software engineering. The app will auto-detect when it needs to be updated, and automatically update itself and it's libraries when needed.
So much for the benifits. Here is the draw back, the wxpython lib does not seem to work correctly with pex format. I have to jimmy rig it for Ubuntu through trial and error. If someone knows a better way, please let me know.
For now, on ubuntu you need to:
STEP 1:
apt-get install python-wxglade
STEP 2:
apt-get install python-pip
STEP 3:
pip uninstall wxpython
The 3rd step is not a misprint, you need to uninstall what you just installed at a system level (for now). I don't know if I am missing a step in the pex format/configuration or that the wxpython format does not play nice with the way pex interacts with pip.
STEP 4:
download oneshot.pex to your machine
STEP 5:
chmod 777 oneshot.pex
STEP 6:
./oneshot.pex
done. Next time you want to upgrade, just repeat steps 4-6.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying the "pex" format for distribution which has incredible promise. I still may be missing some configuration settings on this. Once we do get it working though, it is really a great work off software engineering. The app will auto-detect when it needs to be updated, and automatically update itself and it's libraries when needed.
So much for the benifits. Here is the draw back, the wxpython lib does not seem to work correctly with pex format. I have to jimmy rig it for Ubuntu through trial and error. If someone knows a better way, please let me know.
For now, on ubuntu you need to:
STEP 1:
apt-get install python-wxglade
STEP 2:
apt-get install python-pip
STEP 3:
pip uninstall wxpython
The 3rd step is not a misprint, you need to uninstall what you just installed at a system level (for now). I don't know if I am missing a step in the pex format/configuration or that the wxpython format does not play nice with the way pex interacts with pip.
STEP 4:
download oneshot.pex to your machine
STEP 5:
chmod 777 oneshot.pex
STEP 6:
./oneshot.pex
done. Next time you want to upgrade, just repeat steps 4-6.