fix standalone script generation on windows, make tests not do a chdir() so that distributed testing discovers the transferred lib

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-01-01 21:54:27 +01:00
parent 47df1e16b6
commit e0dd171e45
3 changed files with 9 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ def main(pybasedir, outfile, infile):
name2src = {}
for f in files:
k = f.replace("/", ".")[:-3]
k = f.replace(os.sep, ".")[:-3]
name2src[k] = open(f, "rb").read()
data = pickle.dumps(name2src, 2)