Files
xen/tools/python/logging/setup.py
T
mjw@wray-m-3.hpl.hp.com 5b14d2aca3 bitkeeper revision 1.1108.1.8 (40ffc44fV2fs0W-8bRw5B0XcBdmAsw)
Add python 2.3 logging to the tree. Only install
if not present. Convert xend to use logging.
2004-07-22 13:42:39 +00:00

12 lines
380 B
Python

#============================================================================
# Install the logging package from python 2.3 if not present.
#============================================================================
import os
try:
import logging
except ImportError:
print 'logging package not found: installing'
os.chdir('logging-0.4.9.2')
execfile('setup.py')