def get_version(package):
    init_py = read(os.path.join(package, '__init__.py'))
    return re.search(
        "^__version__ = ['\"]([^'\"]+)['\"]", 
        init_py,
        re.MULTILINE
    ).group(1)

# Setup parameters that depend on the Python version
Construct a filename for storing additional information about a base
dataset/ETHPy150Open dalembertian/fabmanager/setup.py/get_version--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/imagecache.py/get_info_filename