Changeset 804

Show
Ignore:
Timestamp:
09/22/07 16:55:55 (1 year ago)
Author:
robin
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pyrun/trunk/pyrun.py

    r798 r804  
    352352        else: 
    353353            nextopt = argv[ia][1:] 
    354             if nextopt not in default_opts: 
    355                 nextopt = short_opts[nextopt] 
    356354 
    357355        # If its one of the callers options and the callers option values does 
  • pyrun/trunk/pyrunscripts.py

    r803 r804  
    176176                if isinstance(req, types.StringTypes) else req 
    177177            for req in reqs] 
    178  
    179178    # Collect all the scripts for all the resolved distributions. If we get 
    180179    # script name colisions, either as a result of or inspite of scriptrenames 
     
    186185    for dist in ws.resolve(reqs, env=env): 
    187186        dist.activate() 
     187        print dist.location 
    188188        for name, ep in dist.get_entry_map('console_scripts').iteritems(): 
    189189            sname = scriptnames.get(name, name) 
     
    211211                locations.append(dist.location) 
    212212 
    213  
    214213    script_parameters = [] 
    215214    for sname, (name, ep, arguments) in entrypoints.iteritems(): 
     
    242241    locations, parameters = resolve_egg_scripts( 
    243242            path, reqs, projects, scripts) 
    244  
    245243    generated = [] 
    246244    for sname, name, module_name, attrs, arguments in parameters: 
     
    275273 
    276274    """ 
    277  
    278275    ensure_pkg_resources() 
    279276 
  • pyrun/trunk/setup.py

    r775 r804  
    7575            'console_scripts': [ 
    7676                'pyrun = pyrun:runex', 
    77                 'pyrun-m = pyrun:run' 
     77                'pyrunscripts = pyrunscripts:run', 
     78                'eggtool = eggtool:run' 
    7879                ] 
    7980            },