Someone
public text v1 · immutable# 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')