> Likely not important now as you have something that works, but for >> posterity this skips the frozen problem and allows changing and testing >> code in-situ: >> >> git clone https://github.com/pyzo/pyzo.git >> pushd pyzo >> pip install --editable . >> >> #launch with: >> pyzo >> > > Thanks for this. So --editable "unfreezes" pyzo.exe? Or deletes it? >
This is installing from source instead of a using precompiled binary (a.k.a. frozen executable). Through a process I don't understand it adds `path\to\code\pyzo\pyzo` to python's SYSPATH, instead of the usual `%PYTHONHOME%\Lib\site-packages\pyzo` Then it creates a pyzo.exe in `%PYTHONHOME%\Scripts` which is a thin wrapper around `%PYTHONHOME%\Scripts\pyzo-script.pyw` which itself is a wrapper/entry point to running something like `python -c "import pyzo; pyzo.__main__:main '"`. Clear as mud right? The only part to really understand is that with this method editing `path\to\code\pyzo\pyzo\something.py` takes immediate effect. You don't need to reinstall the program (but probably do need to close and restart the .exe). Oh yeah, `pip uninstall pyzo` will undo all the above and make pyzo unavailable to python. Complete clean room recipe: conda create -n pyzo activate pyzo conda install pip pyqt git clone https://github.com/pyzo/pyzo.git <http://www.google.com/url?q=http%3A%2F%2Fgithub.com%2Fpyzo%2Fpyzo.git&sa=D&sntz=1&usg=AFQjCNGxFp9XuSfHZGQ8XbnG_7XMJWGPNg> pushd pyzo pip install --editable . pyzo --matt -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
