def get_version(package):
    init_py = open(os.path.join(package, '__init__.py')).read()
    return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
Copies the given application to a machine running the Login service
dataset/ETHPy150Open anler/django-test-client-extensions/setup.py/get_version--crossover with--dataset/ETHPy150Open AppScale/appscale-tools/lib/remote_helper.py/RemoteHelper.copy_app_to_host