Skip to content

whl2conda diff

Usage

usage: whl2conda diff [-h] -T <tool> [-A ...] <package1> <package2>

Compare the content of two conda packages

This will unpack each conda packaeg into temporary directories, normalize the layout of files in the input directory to minimize line differences, and will run the specified diff tool and arguments.

This can be used to compare packages generated using this tool against those created using conda-build.

positional arguments

  <package1>
            First package to compare
  <package2>
            Second package to compare

options

  -h, --help
            show this help message and exit
  -T <tool>, --diff-tool <tool>
            Diff tool to use. This is currently required.

            The tool is expected to take positional arguments
            for each directory. Additional arguments may be
            passed after --args.
  -A ..., --args ...
            All remaining arguments passed to diff tool