Project

General

Profile

Upgrading to Appion 3.3

Added by Patrick Goetz almost 7 years ago

I couldn't find any instructions for upgrading to Appion 3.3 (i.e. similar to http://emg.nysbc.org/projects/leginon/wiki/How_to_Update_from_v32_(Linux)).

I'm pretty sure I know how to upgrade Appion, but the missing instruction has given me pause to wonder if there is a reason why I shouldn't just do what I did the last time I upgraded from myami-2.2 to myami-beta.

# cd /home/cnsit/leginon/myami-3.3/appion
# python setup.py install --install-scripts=/usr/local/bin

Replies (3)

RE: Upgrading to Appion 3.3 - Added by Anchi Cheng almost 7 years ago

This particular instruction is for those who used the standard autoinstaller previously so that their Appion script was also saved to /usr/local/bin.

You should use your working method to upgrade. The instruction for upgrading to any version of appion above 3.0 is basically the same which is why I did not write a new one. If there are deviation which I sometimes forget, I will have add-on instructions.

RE: Upgrading to Appion 3.3 - Added by Patrick Goetz almost 7 years ago

So, just to clarify:

# cd /home/cnsit/leginon/myami-3.3/appion
# python setup.py install

should work fine? I definitely did not use the autoinstaller.

RE: Upgrading to Appion 3.3 - Added by Anchi Cheng almost 7 years ago

If that was how you install before.

The point of --install-scripts=/your/destination is that these scripts will be run directly from shell and therefore need to be accessible in environment variable PATH. Without that part of the option, all files go into standard python library path /xxxx/python2.x/site-packages or something similar, depending on the OS. Those places are in PYTHONPATH but
not in PATH.

You can check, before you perform this install where your current environment finds these script.

For example,

which dogPicker.py
    (1-3/3)