callirhoe/make_resources_list
ph4ntome@gmail.com 3a6e54e8e8 Fixin stuff in make_pkg
git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@186 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
2014-10-31 21:33:08 +00:00

14 lines
266 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('resources_list["%s"] = %s\n' % (x, str(res[x])))
out.close()