sbin/sync/fabfile.py
changeset 109 2f2cc65284b0
parent 60 10e4b6eae0e5
child 173 8b881fb925ef
equal deleted inserted replaced
108:6ef0ca20d634 109:2f2cc65284b0
    23     clean_export_folder(export_path)
    23     clean_export_folder(export_path)
    24     relaunch_server()
    24     relaunch_server()
    25     
    25     
    26 @task
    26 @task
    27 def update_lib(version, package):
    27 def update_lib(version, package):
    28     print(green("update ldt with version %s" % version))
    28     print(green("update %s with version %s" % (package,version)))
    29     export_path = export_version(web=version)
    29     export_path = export_version(web=version)
    30     export_path_full = os.path.join(export_path,'web')
    30     export_path_full = os.path.join(export_path,'web')
    31     lib_path = os.path.join(export_path_full, "virtualenv", "res", "lib")
    31     lib_path = os.path.join(export_path_full, "virtualenv", "res", "lib")
    32     
    32     
    33     f, pathname, description = imp.find_module("patch", [lib_path])
    33     f, pathname, description = imp.find_module("patch", [lib_path])