[reportlab-users] _rl_accel location
Ury Marshak
reportlab-users@reportlab.com
Tue, 22 Apr 2003 16:03:41 +0200
Regarding the location of _rl_accel, under
'site-packages\reportlab\lib' directory, or
directly under ''site-packages'.
It seems that some of the modules allow _rl_accel.pyd
to be located in two places, using code similar to:
try:
try:
import _rl_accel
except ImportError, errMsg:
_checkImportError(errMsg)
from reportlab.lib import _rl_accel
(these are lib/utils.py, pdfbase/pdfmetrics.py, pdfbase/pdfutils.py) ,
while pdfbase/ttfonts.py looks *only* in reportlab.lib,
while paragraph.py - only *not* in reportlab.lib.
Looks a little inconsistent :)
I personally would prefer to keep it under reportlab.lib -
just to keep everything together, easing the maintainance.
Ury