def get_lib_dir():
 dirname = ('DLLs' if (sys.platform == 'win32') else 'lib')
 libdir = os.path.join(sys.prefix, dirname)
 return libdir

def get_lib_dir ( ) : dirname = ( 'DLLs' if ( sys . platform == 'win32' ) else 'lib' ) libdir = os . path . join ( sys . prefix , dirname ) return libdir
anaconda specific .