• Home
  • Raw
  • Download

Lines Matching full:path

68     mark_file_dir = os.path.join(code_dir, unzip_dir)
70 mark_file_path = os.path.join(mark_file_dir, mark_file_name)
72 return os.path.exists(mark_file_path)
80 bin_file = os.path.basename(huaweicloud_url)
84 dest_dir = os.path.join(code_dir, unzip_dir)
94 if os.path.basename(unzip_dir) == 'nodejs':
129 abs_unzip_dir = os.path.join(code_dir, unzip_dir)
130 if not os.path.exists(abs_unzip_dir):
134 if os.path.basename(abs_unzip_dir) == 'nodejs':
139 … local_file = os.path.join(bin_dir, ''.join([md5_huaweicloud_url, '.', bin_file]))
140 if os.path.exists(local_file):
145 tasks[task] = os.path.basename(huaweicloud_url)
153 tasks[task] = os.path.basename(huaweicloud_url)
161 …os.environ['PATH'] = '{}/{}/{}/bin:{}'.format(code_dir, unzip_dir, unzip_filename, os.environ.get(…
163 full_code_path = os.path.join(code_dir, install_info)
164 full_code_path = os.path.join(install_info)
165 if os.path.exists(full_code_path):
184 src_dir = os.path.join(code_dir, config_info.get('src'))
185 dest_dir = os.path.join(code_dir, config_info.get('dest'))
187 if os.path.exists(os.path.dirname(dest_dir)):
188 shutil.rmtree(os.path.dirname(dest_dir))
190 os.makedirs(os.path.dirname(dest_dir))
202 if os.path.exists(src_dir):
208 if os.path.exists(dest_dir):
212 if os.path.exists(dest_dir):
229 args.code_dir = os.path.abspath(os.path.join(os.getcwd()))
236 …config_file = os.path.join(args.code_dir, 'toolchain/build/prebuilts_download/prebuilts_download_c…
242 args.bin_dir = os.path.join(args.code_dir, config_info.get('prebuilts_download_dir'))
243 if not os.path.exists(args.bin_dir):