code2html works again and doc licence
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user