'Get bash environment variables used for all builder commands.'

def get_env_vars(self):

    env = {'READTHEDOCS': True, 'READTHEDOCS_VERSION': self.version.slug, 'READTHEDOCS_PROJECT': self.project.slug}
    if self.config.use_conda:
        env.update({'CONDA_ENVS_PATH': os.path.join(self.project.doc_path, 'conda'), 'CONDA_DEFAULT_ENV': self.version.slug, 'BIN_PATH': os.path.join(self.project.doc_path, 'conda', self.version.slug, 'bin')})
    else:
        env.update({'BIN_PATH': os.path.join(self.project.doc_path, 'envs', self.version.slug, 'bin')})
    return env
