Changed the .pth file creation logic once again. Basically, we are reverting to the method of looking in sys.path, but now looks for both site-packages and dist-packages. This should work on both Ubuntu and SLED. Compared to the old code, however, we now use .endswith (since we no longer support Python 1.5).
Changed the .pth file creation logic once again. Basically, we are
reverting to the method of looking in sys.path, but now looks for both
site-packages and dist-packages. This should work on both Ubuntu and
SLED. Compared to the old code, however, we now use .endswith (since
we no longer support Python 1.5).

astrand/hiveconf,astrand/hiveconf