reportlab - PDF library ChangeLog

HOWTO


# ReportLab 1.21 (optional)
# ==============
# Python

cd
test -f installed/ReportLab_1_21.tgz && mv installed/ReportLab_1_21.tgz .
test ! -f ReportLab_1_21.tgz &&
wget http://www.reportlab.org/ftp/ReportLab_1_21.tgz

# Become root to install it
su

# Remove old installed copies, extract the new version
# (into every Python site-packages directory that we find)
find /usr/lib/python* -maxdepth 1 -type d -name site-packages 2> /dev/null |
while read pythondir; do
  test -d $pythondir/reportlab && rm -r $pythondir/reportlab
  tar xzvf ./ReportLab_1_21.tgz -C $pythondir
  mv $pythondir/reportlab_1_21 $pythondir/reportlab
  chown -R root:root $pythondir/reportlab
  rm -f $pythondir/reportlab/MANIFEST
  mv $pythondir/reportlab/reportlab/* $pythondir/reportlab/
  rmdir $pythondir/reportlab/reportlab
done

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/ReportLab-*.tgz
mv ReportLab_1_21.tgz installed/


# If you ever want to uninstall ReportLab, this should do it:
su -c "find /usr/lib/python*/site-packages -type d -maxdepth 1 \
-name reportlab -exec rm -r {} \;"
rm -f ~/installed/ReportLab-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2006-10-28 12:58pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]