ia64/xen-unstable

view tools/python/logging/setup.py @ 2052:dae98734f12e

bitkeeper revision 1.1128 (410f8501U6k1p4VW0CM4HcZS8VUAwQ)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-ptrw
author cl349@freefall.cl.cam.ac.uk
date Tue Aug 03 12:28:49 2004 +0000 (2004-08-03)
parents b5427b1bb6c1
children
line source
1 #============================================================================
2 # Install the logging package from python 2.3 if not present.
3 #============================================================================
4 import os
6 try:
7 import logging
8 except ImportError:
9 print 'logging package not found: installing'
10 os.chdir('logging-0.4.9.2')
11 execfile('setup.py')