Feature #319
closedDetermine how appion/bin programs should be used
100%
Description
Determine how appion/bin programs should be used
Currently, we have several program that need to be executed in the appion/bin folder
There are three ways to properly install appionlib:
- Tell users to put
appion/bin
folder directly inPATH
evironmental variable - Tell users to put
appion/bin/*.py
folder directly in/usr/local/bin
or/usr/bin
- Put a symbolic link to the
appion/bin/appion
script into/usr/local/bin
or/usr/bin
and then use theappion
script to launch all programs, e.g.appion makestack2.py --option1 --option1
If we go with option #3, then we should change the webpages to use this script
a typical site-packages folder is: /usr/lib/python2.6/site-packages/
Updated by Jim Pulokas over 14 years ago
See #318 for solution using setup.py, however we may need to tune this if we want to contain all of the scripts in a special appion subdirectory, rather than directly into, for example, /usr/bin/. For now, it gets the job done if you already have your special bin location created. Just run the following, for example:
python setup.py install --install-scripts=/home/pulokas/bin
Updated by Neil Voss over 14 years ago
- Target version set to Appion/Leginon 2.0.0
Updated by Amber Herold over 14 years ago
For current release we will document the various ways of doing this.
Updated by Neil Voss over 14 years ago
- Status changed from New to In Test
- Assignee set to Amber Herold
- % Done changed from 0 to 100
In the install guide I have the users run the setup.py script which installs all program into /usr/bin or /usr/local/bin. It is not the cleanest way, but it works.