Lines Matching refs:os
7 import os
15 sys.path.append(os.getcwd())
16 sys.path.append(os.path.abspath('./ext'))
26 if not os.path.isdir("images"):
42 includedir = os.path.join('..', 'include', 'petscversion.h')
43 if not os.path.isfile(includedir): includedir = os.path.join('..', '..', 'include', 'petscversion.h…
100 html_logo_light = os.path.join('images', 'logos', 'PETSc_TAO_logos', 'PETSc-TAO', 'web', 'PETSc-TAO…
101 html_logo_dark = os.path.join('images', 'logos', 'PETSc_TAO_logos', 'PETSc-TAO', 'web', 'PETSc-TAO_…
124 "image_light": os.path.basename(html_logo_light),
125 "image_dark": os.path.basename(html_logo_dark)
147 html_favicon = os.path.join('images', 'logos', 'PETSc_TAO_logos', 'PETSc', 'petsc_favicon.png')
188 if 'PETSC_DIR' in os.environ:
189 app.petsc_dir = os.path.abspath(os.environ['PETSC_DIR'])
191 … app.petsc_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
192 app.build_dir = os.path.abspath(os.getcwd())
219 if os.path.isdir(os.path.join(app.outdir,'_sources','manualpages')):
220 shutil.rmtree(os.path.join(app.outdir,'_sources','manualpages'))
276 update_htmlmap_links.update_htmlmap_links(app.builder,os.path.join('manualpages','htmlmap'))
303 subprocess.run(command, cwd=os.path.join(app.petsc_dir,'src','binding','petsc4py'), check=True)