I had success doing exactly this (adding several external libraries such as NumPy and others for some of my plug-ins.)
(the plug-in in question was for automatically thinning cameras that didn't contribute much by comparing images within a variable/small distance of each other AND when the orientation direction was very similar.)