Changeset 777

Show
Ignore:
Timestamp:
07/31/07 17:18:47 (1 year ago)
Author:
robin
Message:

preparing 0.1b

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pyrun/trunk/pkg-info.rst

    r773 r777  
    11:License: MIT 
    22:Name: pyrun 
    3 :Version: 0.1b.dev 
     3:Version: 0.1b 
    44:Author: Robin Bryce 
    55:Author-email: robinbryce@gmail.com 
  • pyrun/trunk/pyrun.py

    r764 r777  
     1# Copyright (c) 2007 Robin Bryce 
     2# All rights reserved 
     3#  
     4# Permission is hereby granted, free of charge, to any person obtaining a 
     5# copy of this software and associated documentation files (the "Software"), 
     6# to deal in the Software without restriction, including without limitation 
     7# the rights to use, copy, modify, merge, publish, distribute, sublicense, 
     8# and/or sell copies of the Software, and to permit persons to whom the 
     9# Software is furnished to do so, subject to the following conditions: 
     10#  
     11# The above copyright notice and this permission notice shall be included in 
     12# all copies or substantial portions of the Software. 
     13#  
     14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
     15# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
     16# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
     17# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
     18# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
     19# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
     20# DEALINGS IN THE SOFTWARE.  
     21 
    122import os, sys, types, re, traceback, inspect, imp 
    223 
     
    505526        msg = exc_string(einfo=einfo) 
    506527        print msg 
    507         if opts.d
     528        if opts.D
    508529            import pdb 
    509530            pdb.post_mortem(einfo[2]) 
     
    558579`pdb.set_trace`.""")), 
    559580 
     581('-D', dict(default=False, action='store_true', metavar='DEBUG', help= 
     582"""POSTMORTEM debugging. If the target raises an exception, start a 
     583    postmortem pdb debugging session.""")), 
     584 
    560585('-i', dict(default=False, action='store_true', metavar='INTERACTIVE', help= 
    561586"INTERACTIVE session with prepared sys.argv and sys.path.")),