author | robin <robin@reportlab.com> |
Tue, 07 Mar 2017 10:00:34 +0000 | |
changeset 4330 | 617ffa6bbdc8 |
parent 4252 | fe660f227cac |
permissions | -rw-r--r-- |
2963 | 1 |
#!/bin/env python |
4330 | 2 |
#Copyright ReportLab Europe Ltd. 2000-2017 |
2963 | 3 |
#see license.txt for license details |
2967
ea62529bd1df
reportlab-2.2: first stage changes in on the trunk
rgbecker
parents:
2963
diff
changeset
|
4 |
__doc__='Test all demos' |
4252 | 5 |
__version__='3.3.0' |
2963 | 6 |
_globals=globals().copy() |
7 |
import os, sys |
|
8 |
from reportlab import pdfgen |
|
9 |
||
10 |
for p in ('pythonpoint/pythonpoint.py','stdfonts/stdfonts.py','odyssey/odyssey.py', 'gadflypaper/gfe.py'): |
|
11 |
fn = os.path.normcase(os.path.normpath(os.path.join(os.path.dirname(pdfgen.__file__),'..','demos',p))) |
|
12 |
os.chdir(os.path.dirname(fn)) |
|
3721 | 13 |
exec(compile(open(fn).read(), fn, 'exec'),_globals.copy()) |