On Mon, Nov 1, 2010 at 7:32 PM, Christoph Gohlke <cgoh...@uci.edu> wrote: > > > > In build.py, instead of > > shutil.copyfile('freesansbold.ttf', 'dist/freesansbold.ttf') > > you could do > > import zipfile > font = os.path.join(os.path.dirname(sys.executable), > 'lib', 'site-packages', 'pygame', 'freesansbold.ttf') > zip = zipfile.ZipFile('dist/library.zip', 'a') > zip.write(font, 'pygame/freesansbold.ttf') > zip.close()
I made these changes and verified that the font file is included in dist\library.zip however when I run the .EXE it results in the exact same runtime error :( Man this is a tough one! Zach