...
distribute0.6.21
pip1.0.1
nose1.10.20
numpy 1.6.1
pyfits 3.0.3
PIL 1.17
matplotlib1.10.0
pywcs 1.10-4.7
APLpy 0.9.6
4Suite-XML 1.0.2
scipy 0.9.0
iPython 0.11
pywcsgrid2
...
- Download Python 2.7.2 from http://www.python.org/ and save to /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs if it doesn't already exist.
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python
- Ungzip and Untar the file Python-2.7.2.tgz
- Set the environment variable EXTRA_CFLAGS to "-fPIC -fwrapv"
- Change directory to Python-2.7.2
- edit setup.py, in detect_modules() change the lines from:
...
- Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2/gcc34 -fPIC
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.7.2)
- install additional python modules the same way as python 2.7.1 instruction, except PIL 1.1.7
PIL - 1.1.7
This package is installed in order to make the matplotlib unit tests work.
- Download Imaging-1.1.7.tar.gz from http://effbot.org/downloads/Imaging-1.1.7.tar.gz
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/
- Extract Imaging-1.1.7.tar.gz
- Change directory to Imaging-1.1.7
- python setup.py install
- Leave and erase the current directory (Imaging-1.1.7)
2.7.1
Adding in the following modules:
...