mirror of
https://github.com/oDinZu/callirhoe.git
synced 2025-02-23 00:02:16 -05:00
git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@186 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
14 lines
266 B
Python
Executable File
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() |