Home
last modified time | relevance | path

Searched refs:relpath (Results 1 – 8 of 8) sorted by relevance

/petsc/doc/
H A Dmake_links_relative.py17 if level == 0: relpath = "."
18 else: relpath = os.path.sep.join([".."] * level)
24 print(line.replace(placeholder, relpath), end='') # prints to file
H A Dbuild_c2html_file.py41 …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 Dgmakegen.py148 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 Dquery_tests.py164 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 Dinstall.py348 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 Dgmakegentest.py158 return os.path.relpath(rdir,self.srcdir)
/petsc/lib/petsc/bin/maint/
H A Dgenerateetags.py73 frlist = [os.path.relpath(path,os.getcwd()) for path in flist]
H A Dexampleslog.py110 fname=os.path.relpath(filename,self.petsc_dir).replace("src/","")