Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

2.7.1

Adding in the following modules:

distribute0.6.16
pip1.0.1
nose1.0.0
numpy 1.5.1
pyfits 2.4.0
matplotlib1.0.0
pywcs 1.10-4.7
APLpy 0.9.5
4Suite-XML 1.0.2
scipy 0.9.0
iPython 0.10.2
pywcsgrid2

redhat4-i686-32bit-gcc34

These instructions should be performed as the glastrm user 

  1. Download Python 2.7.1 from http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs if it doesn't already exist.
  2. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  3. Ungzip and Untar the file Python-2.7.1.tgz
  4. Change directory to Python-2.7.1
  5. edit setup.py, in detect_modules() change the lines from:

        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')

        to:

        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
        add_dir_to_list(self.compiler.library_dirs, '/usr/lib')
        add_dir_to_list(self.compiler.include_dirs, '/usr/include')

  1. Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.7.1/gcc34
  2. Execute make
  3. Execute make install
  4. Leave and erase the current directory (Python-2.7.1)

2.5.1

These are instructions for building Python 2.5.1 for the various OSes supported.

...

  1. Download Python 2.5.1 from http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc41/python if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-64bit-gcc41/python
  3. Ungzip and Untar the file Python-2.5.1.tgz
  4. Change directory to Python-2.5.1
  5. Set the environment variable EXTRA_CFLAGS to "-fPIC -fwrapv"
  6. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-64bit-gcc41/python/2.5.1-gl4/gcc41
  7. Execute make
  8. Execute make install
  9. Leave and erase the current directory (Python-2.5.1)

2.5.1-gl5 

redhat4-i686-32bit-gcc34

These are instructions for building Python 2.5.1 for the various OSes supported.

...

  1. Download ipython-0.10.tar.gz from http://ipython.scipy.org/dist/ipython-0.10.tar.gz and save to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python if it doesn't already exist.
  2. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  3. Extract ipython-0.10.tar.gz
  4. Change directory to ipython-0.10
  5. Execute /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl5/gcc34/bin/python setup.py install
  6. Leave and erase ipython-0.10

2.6.5

redhat4-i686-32bit-gcc34

These are instructions for building Python 2.6.5 for the various OSes supported.

...

  1. Download Python 2.6.5 installer from http://www.python.orgImage Removed
  2. Add
    1. numpy 1.4.1
    2. pyfits 2.3.1
    3. matplotlib 0.99.3
    4. pywcs 1.81-4.4.4 using tar.gz  using python setup.py install
    5. aplpy 0.9.4 tar.gz using python setup.py install
    6. 4SuiteXML 1.0.2 using zip file
    7. scipy 0.8.0b1
    8. ipython 0.10, install using tar.gz using python setup.py install
    9. setuptools 0.6c11
    10. nose 0.11.3 install from tar.gz using python setup.py install

...