Ñò ‚Ic @ sô d d k Z d d k Z d d k Z d d k l Z l Z d d k Z d d k Z d d k Z d d k l Z d d k Z d d k Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d „ Z d „ Z d e f d „ ƒ YZ d S( iÿÿÿÿN( t Commandt BadCommand( t StringIOt EntryPointCommandc B sø e Z d Z d Z d Z d Z e i d e ƒ Z e i d d d d d d d d ƒe i d d d d d d ƒe i d d d d d d d ƒd „ Z d „ Z d „ Z d d „ Z d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS(! t ENTRY_POINTs# Show information about entry pointsss Shows information about one or many entry points (you can use wildcards for entry point names). Entry points are used for Egg plugins, and are named resources -- like an application, template plugin, or other resource. Entry points have a [group] which defines what kind of object they describe, and inside groups each entry point is named. i t verboses --lists -lt destt list_entry_pointst actiont store_truet helps0 List all the kinds of entry points on the systems --eggs -et show_eggs+ Show all the entry points for the given Eggs --regext use_regexsE Make pattern match as regular expression, not just a wildcard patternc C s- | i i o | i ƒ S| i i o | i | i i ƒ S| i p t d ƒ ‚ n | i | i d ƒ } | i | ƒ } | p t d | i d ƒ ‚ n d } t | i ƒ d j o | i | i d ƒ } n xV | D]N } | i | ƒ } d | GH| o | i | ƒ GHHn h } | i | | ƒ q× Wd S( Ns( You must give an entry point (or --list)i s No group matched %si s [%s]( t optionsR R t argsR t get_patternt get_groups_by_patternt Nonet lent get_group_descriptiont wrapt print_entry_points_by_group( t selft patternt groupst ep_patt groupt desct by_dist( ( s<