This small update should fix the build errors in python/freeze.
I added a check if the output directory (../frozen) exists and will create the directory if it does not exist. This time I tested it also with the NaN make environment :) Michel
This commit is contained in:
@@ -354,6 +354,8 @@ class ModuleFinder:
|
|||||||
return imp.find_module(name, path)
|
return imp.find_module(name, path)
|
||||||
|
|
||||||
def report(self):
|
def report(self):
|
||||||
|
if not os.path.exists ('../frozen'):
|
||||||
|
os.mkdir ('../frozen')
|
||||||
src_list = open ('../frozen/src.list', 'w')
|
src_list = open ('../frozen/src.list', 'w')
|
||||||
print
|
print
|
||||||
print " %-25s %s" % ("Name", "File")
|
print " %-25s %s" % ("Name", "File")
|
||||||
|
Reference in New Issue
Block a user