diff --git a/pyan/main.py b/pyan/main.py index e78e17c..7c7e275 100644 --- a/pyan/main.py +++ b/pyan/main.py @@ -80,6 +80,8 @@ def main(): filenames = [fn2 for fn in args for fn2 in glob(fn)] if len(args) == 0: parser.error('Need one or more filenames to process') + if len(args) > 0 and len(filenames) == 0: + parser.error('No files found matching given glob: %s' % ' '.join(args)) if options.nested_groups: options.grouped = True diff --git a/setup.py b/setup.py index d943c60..4963622 100644 --- a/setup.py +++ b/setup.py @@ -136,7 +136,7 @@ setup( # See # http://setuptools.readthedocs.io/en/latest/setuptools.html # - setup_requires=[], + setup_requires=["wheel"], install_requires=[], provides=["pyan"], diff --git a/visualize_pyan_architecture.sh b/visualize_pyan_architecture.sh index 22c6334..36ed24f 100755 --- a/visualize_pyan_architecture.sh +++ b/visualize_pyan_architecture.sh @@ -1,4 +1,4 @@ #!/bin/bash echo -ne "Pyan architecture: generating architecture.{dot,svg}\n" python3 -m pyan pyan/*.py --no-defines --uses --colored --annotate --dot -V >architecture.dot 2>architecture.log -dot -Tsvg architecture.dot >architecture.svg +dot -Tsvg architecture.dot >architecture.svg \ No newline at end of file