find-geni-lib.py 256 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env python
import geni
import sys
import os

# We do this twice since we need to chop off both the filename and the final
# component of the directort
dir = os.path.dirname(geni.__file__)
dir = os.path.dirname(dir)

sys.stdout.write(dir + "\n")