Lines Matching refs:path

67 HOME_DIR = os.path.join(xdg.BaseDirectory.xdg_cache_home,
68 os.path.splitext(os.path.basename(__file__))[0])
88 # --d1 /path/to/package1-debuginfo.rpm \
89 # --d2 /path/to/package2-debuginfo.rpm \
90 # /path/to/package1.rpm \
91 # /path/to/package2.rpm
110 # (/path/to/package1.rpm, [/paths/to/package1-debuginfo.rpm ..] /path/to/package1-devel.rpm)
111 # (/path/to/package2.rpm, [/paths/to/package2-debuginfo.rpm ..] /path/to/package1-devel.rpm)
125 logger = logging.getLogger(os.path.basename(__file__))
212 isfile = os.path.isfile(filename)
337 nvra, _ = os.path.splitext(self.filename)
346 return os.path.basename(pathinfo.rpm(self.rpm_info))
362 return os.path.join(pathinfo.build(build), pathinfo.rpm(self.rpm_info))
366 """Get a pridictable downloaded file name with absolute path"""
368 filename = os.path.basename(pathinfo.rpm(self.rpm_info))
369 return os.path.join(get_download_dir(), filename)
374 return os.path.exists(self.downloaded_file)
391 self.rpm_info = koji.parse_NVRA(os.path.basename(filename))
416 search_dir = os.path.dirname(os.path.abspath(self.local_filename))
417 filename = os.path.join(search_dir, rpm_filename)
418 return LocalRPM(filename) if os.path.exists(filename) else None
479 dir_name = os.path.dirname(os.path.abspath(rpm_file))
480 filename = os.path.basename(rpm_file)
483 rpm_files = glob.glob(os.path.join(
987 :return: path to directory holding downloaded RPMs.
990 download_dir = os.path.join(HOME_DIR, 'downloads')
991 if not os.path.exists(download_dir):
1008 url, os.path.join(get_download_dir(),
1009 os.path.basename(url)))
1040 """Build the path to the 'abipkgidiff' program to use.
1042 The path to 'abipkgdiff' is either the argument of the
1043 --abipkgdiff command line option, or the path to 'abipkgdiff' as
1046 :return: str a string representing the path to the 'abipkgdiff'
1065 concatenate the 'option' parameter before the path to each RPM
1255 if not os.path.exists(local_rpm_file):
1426 'file names with relative or absolute path.')
1495 help="The path to the 'abipkgtool' command to use. "