...
- Obtain python source from python.org
- Ungzip/Untar source
- Change directory to Python-2.7.2
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')- Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.6
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.7.6)
pip (also install setuptools)
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
nose 1.3.2
unit test framework necessary for running numpy and scipy unit tests
- pip install nose
numpy 1.8.1
2.7.3
Windows-i386-32bit-vc90 debug
...