|
|
|
|
|
|
|
|
|
|
"""\ |
py.countloc [PATHS] |
|
Count (non-empty) lines of python code and number of python files recursively |
starting from a list of paths given on the command line (starting from the |
current working directory). Distinguish between test files and normal ones and |
report them separately. |
""" |
from _findpy import py |
import py |
from py.compat import optparse |
from py.__.misc.cmdline.countloc import countloc |
|
|
def main(): |
parser = optparse.OptionParser(usage=__doc__) |
(options, args) = parser.parse_args() |
countloc(args) |
|
|