callirhoe/scripts/make_resources_list.py
George Tzoumas f81c788687 upgrade to Python 3.7
- just launched 2to3-3.7 -- seems to be working!
- had to fix string decoding in calmagick.py
2020-02-19 00:56:16 +01:00

12 lines
250 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 list(res.keys()):
print('resource_list["%s"] = %s' % (x, str(res[x])))