Use os.getenv('HOME')
Assume ~/work/omero-pychrm/pychrm-lib contains the compiled pychrm lib