def METHOD_NAME(versionselector=''):
    import glob
    body = ''
    try:
        # pymol conda package version
        condameta = glob.glob(os.path.join(sys.prefix, 'conda-meta',
            'pymol-' + versionselector + '*.json'))
        for jsonfile in condameta:
            import json
            d = json.load(open(jsonfile))
            if not versionselector:
                body += os.path.basename(jsonfile) + '\n'
            body += u'conda build: {} {}\n'.format(d.get('build'),
                    d.get('schannel') or d.get('channel'))
    except BaseException as e:
        print(e)
    return body