A possible solution, although not obviously ideal, is to edit the system libpython2.7.tbd file (it's ascii) and edit the allowable-clients field, adding in the name of the executable or library you wish to link with Python2.7.
This is not ideal, as every update will overwrite this file.