def get_version(package):
    init_py = open(os.path.join(package, '__init__.py')).read()
    return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
the analytic solution to the Gaussian diffusion problem
dataset/ETHPy150Open dulaccc/igenstrings/setup.py/get_version--crossover with--dataset/ETHPy150Open zingale/pyro2/diffusion/problems/gaussian.py/phi_analytic