callirhoe/make_resources_list
ph4ntome@gmail.com e1aad0b221 Just fixed the reason that broke the program.
It was the script that creates the resource_list.
There was a typo "resoures_list" ...


git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@197 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
2014-10-31 23:19:41 +00:00

14 lines
265 B
Python
Executable File

#!/usr/bin/env python2
import glob
res = dict()
for x in ['lang', 'style', 'layouts', 'geom']:
res[x] = glob.glob('%s/*.py' % x)
out = open('resources.py', 'w')
for x in res.keys():
out.write('resource_list["%s"] = %s\n' % (x, str(res[x])))
out.close()