import * as fs from 'fs-extra' ; export const PYTHON_PATH = getPythonPath ( ) ; function getPythonPath ( ) { if ( process . env . TRAVIS_PYTHON_PATH && fs . existsSync ( process . env . TRAVIS_PYTHON_PATH ) ) { return process . env . TRAVIS_PYTHON_PATH ; } return 'python' ; }