Have been messing around to try to get it included in the setup.py script. But not sure if it is good to have it there since writing to /usr/ld.so.conf and reloading the /sbin/ldconfig requires sudo status. But on the other hand that is needed to install from the beginning.
I could add something like this to the end of the setup file print "Setting up dependencies" try: f = open("/etc/ld.so.conf", 'r+') content = f.read() path = "/usr/local/lib" if content.find(path) == -1: f.write(path) except Exception, e: pass import subprocess subprocess.call(['sudo', '/sbin/ldconfig']) Erik