Lines Matching refs:tempdir
7 tempdir = os.path.join(tempfile.gettempdir(), "pyrex_temp")
8 if os.path.exists(tempdir):
9 remove_tempdir(tempdir)
11 os.mkdir(tempdir)
12 return tempdir
14 def remove_tempdir(tempdir):
15 shutil.rmtree(tempdir, 0, on_remove_file_error)
25 tempdir = make_tempdir()
26 sys.path.append(tempdir)
27 filename = os.path.join(tempdir, "dummy.pyx")
32 depend_filename = os.path.join(tempdir, "dummy.pyxdep")
37 build_filename = os.path.join(tempdir, "dummy.pyxbld")
46 open(os.path.join(tempdir, "foo.bar"), "w").write(" ")
47 open(os.path.join(tempdir, "1.txt"), "w").write(" ")
48 open(os.path.join(tempdir, "abc.txt"), "w").write(" ")
54 open(os.path.join(tempdir, "abc.txt"), "w").write(" ")
61 remove_tempdir(tempdir)