code2html works again and doc licence

This commit is contained in:
gwen
2012-07-23 15:17:59 +02:00
parent 45ff59aea2
commit bdb6c68c54
6 changed files with 106 additions and 6 deletions

View File

@ -64,14 +64,14 @@ def process_modules():
from os.path import abspath, dirname, normpath, splitext, basename
here = abspath(__file__)
directory = dirname(here)
pyfiles = glob(normpath(join(directory, '..', '*.py')))
pyfiles = glob(normpath(join(directory, '..', 'tiramisu', '*.py')))
for pyf in pyfiles:
pyf = splitext(basename(pyf))[0]
modname = 'tiramisu.' + pyf
if not '__init__' in modname:
parse_module(modname)
pyfiles = glob(normpath(join(directory, '..', 'test', '*.py')))
pyfiles = glob(normpath(join(directory, '..', 'tiramisu', 'test', '*.py')))
for pyf in pyfiles:
pyf = splitext(basename(pyf))[0]
modname = 'tiramisu.test.' + pyf