Print this page
Infrastructure for python version agility
Reviewed by: Dale Ghent <daleg@omniti.com>
Reviewed by: Eric Sproul <eric.sproul@circonus.com>

Split Close
Expand all
Collapse all
          --- old/lib/config.sh
          +++ new/lib/config.sh
↓ open down ↓ 88 lines elided ↑ open up ↑
  89   89  
  90   90  # Accept MakeMaker defaults so as not to stall build scripts
  91   91  export PERL_MM_USE_DEFAULT=true
  92   92  
  93   93  # When building perl modules, run make test
  94   94  # Unset in a build script to skip tests
  95   95  PERL_MAKE_TEST=1
  96   96  
  97   97  
  98   98  #############################################################################
  99      -# Python
       99 +# Python -- NOTE, these can be changed at runtime via set_python_version().
 100  100  #############################################################################
 101  101  : ${PYTHONVER:=2.6}
 102  102  : ${PYTHONPKGVER:=`echo $PYTHONVER | sed 's/\.//g'`}
 103  103  PYTHONPATH=/usr
 104  104  PYTHON=$PYTHONPATH/bin/python$PYTHONVER
 105  105  PYTHONLIB=$PYTHONPATH/lib
 106  106  
 107  107  
 108  108  #############################################################################
 109  109  # Paths to common tools
↓ open down ↓ 103 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX