• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-InterfaceBuilderKit/

Lines Matching refs:path

76         subdir = os.path.join(tmpdir, os.listdir(tmpdir)[0])
99 subdir = os.path.join(tmpdir, os.listdir(tmpdir)[0])
111 if not os.path.exists(egg):
116 egg = os.path.join(to_dir, 'distribute-%s-py%d.%d.egg'
118 if not os.path.exists(egg):
122 sys.path.insert(0, egg)
129 # making sure we use the absolute path
130 to_dir = os.path.abspath(to_dir)
176 # making sure we use the absolute path
177 to_dir = os.path.abspath(to_dir)
184 saveto = os.path.join(to_dir, tgz_name)
186 if not os.path.exists(saveto): # Avoid repeated downloads
200 return os.path.realpath(saveto)
203 def _patch_file(path, content):
205 existing_content = open(path).read()
211 _rename_path(path)
212 f = open(path, 'w')
220 def _same_content(path, content):
221 return open(path).read() == content
224 def _rename_path(path):
225 new_name = path + '.OLD.%s' % time.time()
226 log.warn('Renaming %s into %s', path, new_name)
235 os.rename(path, new_name)
240 if not os.path.isdir(placeholder):
253 pkg_info = os.path.join(placeholder, file)
254 if os.path.isdir(pkg_info):
264 element = os.path.join(placeholder, element)
265 if os.path.exists(element):
279 if not placeholder or not os.path.exists(placeholder):
284 pkg_info = os.path.join(placeholder, setuptools_file)
285 if os.path.exists(pkg_info):
294 pth_file = os.path.join(placeholder, 'setuptools.pth')
298 f.write(os.path.join(os.curdir, setuptools_file))
303 def _patch_egg_dir(path):
305 pkg_info = os.path.join(path, 'EGG-INFO', 'PKG-INFO')
306 if os.path.exists(pkg_info):
310 _rename_path(path)
311 os.mkdir(path)
312 os.mkdir(os.path.join(path, 'EGG-INFO'))
313 pkg_info = os.path.join(path, 'EGG-INFO', 'PKG-INFO')
383 pkg_info = os.path.join(setuptools_location, 'EGG-INFO', 'PKG-INFO')
384 if (os.path.exists(pkg_info) and
404 def _extractall(self, path=".", members=None):
407 directories afterwards. `path' specifies a different directory
425 self.extract(tarinfo, path)
438 dirpath = os.path.join(path, tarinfo.name)