Searched refs:relpath (Results 1 – 8 of 8) sorted by relevance
| /petsc/doc/ |
| H A D | make_links_relative.py | 17 if level == 0: relpath = "." 18 else: relpath = os.path.sep.join([".."] * level) 24 print(line.replace(placeholder, relpath), end='') # prints to file
|
| H A D | build_c2html_file.py | 41 …line = linenumber+'#include <A href="'+os.path.relpath(os.path.join(rel_dot,'include',includename)… 43 …line = linenumber+'#include <A href="'+os.path.relpath(os.path.join(rel_dot,includename))+'.html">…
|
| /petsc/config/ |
| H A D | gmakegen.py | 148 def relpath(self, root, src): member in Petsc 149 return os.path.relpath(os.path.join(root, src), self.pkg_dir) 190 return self.relpath(nroot, src) 195 if os.path.isfile(makefile): self.gendeps.append(self.relpath(root, 'makefile')) 226 fd.write('%s : %s %s\n' % (os.path.relpath(arch_files, petsc.pkg_dir), 227 os.path.relpath(__file__, os.path.realpath(petsc.pkg_dir)),
|
| H A D | query_tests.py | 164 fname=nameSpace(defroot,os.path.relpath(root,srcdir)) 287 pathlike = remove_prefix(os.path.relpath(os.path.abspath(pardir),petscdir),'.'+os.path.sep)
|
| H A D | install.py | 348 pydir_from_petsc = os.path.relpath(pydir, petscdir) 385 libdir_from_petsc = os.path.relpath(libdir, petsclibdir) 387 pylibdir_from_petsc = os.path.relpath(pylibdir, petsclibdir)
|
| H A D | gmakegentest.py | 158 return os.path.relpath(rdir,self.srcdir)
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | generateetags.py | 73 frlist = [os.path.relpath(path,os.getcwd()) for path in flist]
|
| H A D | exampleslog.py | 110 fname=os.path.relpath(filename,self.petsc_dir).replace("src/","")
|