Python Entry Points Explained
Way too much ink wasted on cuteness and too little on explanation.<p>I got stumped at:<p><i>"In particular, the magic happens in get_sneks. The call to pkg_resources.iter_entry_points('snek_types') iterates over all the entry points that were registered under the name "snek_types". So, external packages can define an entry point called "snek_types" in their setup.py, and snek will dynamically load it at runtime."</i><p>Wait.  What entry points were registered under the name "snek_types"?  Where were they regeistered as such?  I think I must be missing something, or maybe that registration was hidden somewhere among all the fancy snakes.  Can someone help explain this in a clearer way?