This makes the tau tools compatible with python3 and non-CMSSW standalone use as per request https://github.com/cms-nanoAOD/nanoAOD-tools/pull/258#issuecomment-773411712. Tested with both python 2.7 and 3.6 (via source /cvmfs/sft.cern.ch/lcg/views/LCG_96python3/x86_64-centos7-gcc8-opt/setup.sh) User can set the path to the data files, which otherwise assumes a CMSSW_BASE environmental variable.
This makes the tau tools compatible with python3 and non-CMSSW standalone use as per request https://github.com/cms-nanoAOD/nanoAOD-tools/pull/258#issuecomment-773411712. Tested with both python 2.7 and 3.6 (via
source /cvmfs/sft.cern.ch/lcg/views/LCG_96python3/x86_64-centos7-gcc8-opt/setup.sh
) User can set the path to the data files, which otherwise assumes aCMSSW_BASE
environmental variable.