Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Obtain python source from python.org
  2. Ungzip/Untar source
  3. Change directory to Python-2.7.2
  4. 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')

  5. Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.6
  6. Execute make
  7. Execute make install
  8. Leave and erase the current directory (Python-2.7.6)

pip (also install setuptools)

  1. curl -O https://bootstrap.pypa.io/get-pip.py
  2. python get-pip.py

nose 1.3.2

unit test framework necessary for running numpy and scipy unit tests

  1. pip install nose

numpy 1.8.1

2.7.3

Windows-i386-32bit-vc90 debug

...