Actions
Feature #318
closedDetermine how appionlib folder should be installed
Start date:
04/02/2010
Due date:
% Done:
100%
Estimated time:
Description
Determine how appionlib folder should be installed.
Currently, if you copy myami to site-packages it works for sinedon, pyami, leginon, pyscope, etc. EXCEPT appionlib, because appionlib is in the appion folder.
There are three ways to properly install appionlib:
- Tell users to put
appionlib
folder directly insite-packages
- Tell users to put
appionlib
folder directly inPYTHONPATH
- Move
appionlib
tomyami
root directory
a typical site-packages folder is: /usr/lib/python2.6/site-packages/
Updated by Neil Voss over 14 years ago
- Subject changed from Determing how appionlib folder should be installed to Determine how appionlib folder should be installed
Updated by Jim Pulokas over 14 years ago
- Status changed from New to In Code Review
- Assignee set to Neil Voss
Created source:trunk/appion/setup.py so appion can be installed in the python way. To install both appionlib and all the scripts from bin to their proper system locations, run the following as root user:
python setup.py install
Or if you prefer to install to a custom location, which does not necessarily require being root, you can use various options to the above command which are documented by running:
python setup.py --help install
For example, this will install to a custom destination in my home directory:
python setup.py install --install-scripts=/home/pulokas/bin --install-lib=/home/pulokas/site-packages
Currently, setup.py only installs .py files in appionlib and bin subdirectories. See http://docs.python.org/distutils/setupscript.html for additional configuration that can be put into setup.py, for example to install some of the other things not in bin or appionlib.
Updated by Neil Voss over 14 years ago
- Target version set to Appion/Leginon 2.0.0
Updated by Neil Voss over 14 years ago
- Assignee changed from Neil Voss to Amber Herold
Updated by Amber Herold over 14 years ago
- Status changed from In Code Review to In Test
I like that scripts replaces the first line with the current interpreter location.
Updated by Amber Herold over 14 years ago
- Status changed from In Test to Closed
Actions