All pastes #56932 Raw Edit

Someone

public text v1 · immutable
#56932 ·published 2006-05-18 20:22 UTC
rendered paste body
# handle updates of just a single file in a python package
def setupPythonUpdates():
    import glob

    # get the libdir.  *sigh*
    if os.access("/usr/lib64/python%s/site-packages/%s" %(pyver, pypkg),
             os.X_OK):
        libdir = "lib64"
    else:
        libdir = "lib"

# For anaconda in test mode
if (os.path.exists('isys')):
    sys.path.append('isys')
    sys.path.append('textw')
    sys.path.append('iw')