callirhoe/scripts/make_resources_list.py
geortz@gmail.com 640164b029 propdel executable
git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@221 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
2014-11-05 13:58:19 +00:00

12 lines
242 B
Python

#!/usr/bin/env python2.7
import glob
res = dict()
for x in ['lang', 'style', 'layouts', 'geom']:
res[x] = glob.glob('%s/*.py' % x)
print 'resource_list = {}'
for x in res.keys():
print 'resource_list["%s"] = %s' % (x, str(res[x]))