diff --git a/.readthedocs.yml b/.readthedocs.yml index 0603683..21294b2 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,2 +1,13 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +sphinx: + configuration: docs/conf.py + python: - setup_py_install: true + install: + - requirements: docs/requirements.txt diff --git a/README.rst b/README.rst index 086d1d1..a054fc3 100644 --- a/README.rst +++ b/README.rst @@ -347,6 +347,9 @@ eg. the output from ``pydeps --show-deps ..`` looks like this:: Version history --------------- +**Version 1.12.19** Thanks to wiguwbe_ for a PR that fixes an inconsistency with +the ``--no-dot`` flag. + **Version 1.12.13** Better docs for larger packages. See maximum_module_depth_ for an example. Thanks to sheromon_ for the PR. @@ -498,3 +501,4 @@ Contributing .. _pawamoy: https://github.com/pawamoy .. _septatrix: https://github.com/septatrix .. _sheromon: https://github.com/sheromon +.. _wiguwbe: https://github.com/Wiguwbe diff --git a/dkbuild.yml b/dkbuild.yml index a230ac5..a93a21a 100644 --- a/dkbuild.yml +++ b/dkbuild.yml @@ -3,7 +3,7 @@ _schema: https://static.datakortet.no/schema/dkbuild.schema.yaml package: name: pydeps description: Display module dependencies - version: 1.12.18 + version: 1.12.19 created: 2014 build: diff --git a/docs/conf.py b/docs/conf.py index 7bb5889..0f1ddc6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,9 +54,9 @@ # built documents. # # The short X.Y version. -version = '1.12.18' +version = '1.12.19' # The full version, including alpha/beta/rc tags. -release = '1.12.18' +release = '1.12.19' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..6da153f --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +Sphinx>=1.7.6 \ No newline at end of file diff --git a/pydeps/__init__.py b/pydeps/__init__.py index 19f5391..90d6f1c 100644 --- a/pydeps/__init__.py +++ b/pydeps/__init__.py @@ -3,4 +3,4 @@ Python module dependency visualization. This package installs the ``pydeps`` command, and normal usage will be to use it from the command line. """ -__version__ = "1.12.18" +__version__ = "1.12.19" diff --git a/pydeps/cli.py b/pydeps/cli.py index 1be6f43..69a4e5d 100644 --- a/pydeps/cli.py +++ b/pydeps/cli.py @@ -153,7 +153,7 @@ def parse_args(argv=()): args.add('--deps-output', dest='deps_out', default=None, kind="FNAME:output", help="write output of dependency analysis to 'file'") args.add('--show-dot', action='store_true', help="show output of dot conversion") args.add('--dot-output', dest='dot_out', default=None, kind="FNAME:output", help="write dot code to 'file'") - args.add('--nodot', '--no-dot', action='store_true', help="skip dot conversion") + args.add('--nodot', '--no-dot', action='store_true', default=False, dest='no_dot', help="skip dot conversion") args.add('--no-output', action='store_true', help="don't create .svg/.png file, implies --no-show (-t/-o will be ignored)") args.add('--show-cycles', action='store_true', help="show only import cycles") args.add('--debug-mf', default=0, type=int, metavar="INT", help="set the ModuleFinder.debug flag to this value") diff --git a/setup.py b/setup.py index b54782a..ffb3efd 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ import setuptools from setuptools.command.test import test as TestCommand -version='1.12.18' +version='1.12.19' class PyTest(TestCommand):