Lines Matching refs:dir

227       dir = os.path.join(petscarch,'ftn',fun.mansec.lower(),'stubs')
230 dir = os.path.join(petscarch,fun.dir.replace('src/','ftn/'))
233 dir = os.path.join(fun.dir,'ftn-custom')
235 if not os.path.isdir(dir): os.makedirs(dir)
237 with open(os.path.join(dir,filename.replace('.c','f.c')),'a') as fd:
432 shutil.copy(os.path.join(fun.dir,'makefile'), os.path.join(dir,'makefile'))
434 with open(os.path.join(fun.dir,'makefile')) as fin:
435 with open(os.path.join(dir,'makefile'),'w') as fout:
437 output = check_output('git add ' + os.path.join(dir,'makefile'), shell=True).decode('utf-8')
438 …print('Fix the manual stub for ' + fun.name + ' in ' + os.path.join(dir,filename.replace('.c','f.c…
439 …output = check_output('git add ' + os.path.join(dir,filename.replace('.c','f.c')), shell=True).dec…
539 dir = os.path.join(petscarch,'include', pkgname, 'finclude')
541 if os.path.isdir(dir): shutil.rmtree(dir)
542 os.makedirs(dir)
546 with open(os.path.join(dir, i),'w') as fd:
561 with open(os.path.join(dir, enums[i].includefile),"a") as fd:
571 with open(os.path.join(dir, typedefs[i].includefile),"a") as fd:
575 with open(os.path.join(dir, structs[i].includefile),"a") as fd:
583 with open(os.path.join(dir, i),'a') as fd:
587 with open(os.path.join(dir, senums[i].includefile),"a") as fd:
592 with open(os.path.join(dir, i),'a') as fd:
597 with open(os.path.join(dir, classes[i].includefile),"a") as fd:
608 with open(os.path.join(dir, i),'a') as fd:
613 dir = os.path.join(petscarch,'ftn')
614 if os.path.isdir(dir): shutil.rmtree(dir)
615 os.makedirs(dir)
619 dir = os.path.join(petscarch,'ftn', i)
620 if os.path.isdir(dir): shutil.rmtree(dir)
621 os.makedirs(dir)
623 dir = os.path.join(petscarch,'ftn', getAPI.mansecpath(i))
624 if os.path.isdir(dir): shutil.rmtree(dir)
625 os.makedirs(dir)