Merge branch 'master' into entry-point

This commit is contained in:
Juha Jeronen
2020-09-15 12:35:08 +03:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -136,7 +136,7 @@ setup(
# See
# http://setuptools.readthedocs.io/en/latest/setuptools.html
#
setup_requires=[],
setup_requires=["wheel"],
install_requires=[],
provides=["pyan"],

View File

@@ -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