7.6. dkit-vendorize: Vendorize one or more packages

This command provides an extension to the vendorize package available from PyPI. It allows you to “vendorize,” that is, install a local copy of, one or more packages. It can be called in the same folder as one of the two files:

  • vendorize.json

  • vendorize.toml

Usage:
$ dkit-vendorize [PKGS] [OPTIONS]
Arguments:
  • PKG1: vendorize each package matching this regular expression

  • PKGN: vendorize each package matching this regular expression

Options:
-h, --help

Display this help message and quit

-t, --target REGEX

Only vendoroze in parent packages including regular expression REGEX (default is all packages with any vendorize file)

-f, --json FJSON

Search for vendorize files called FJSON (defaults to vendorize.json)

--cwd WHERE

Location from which to search for packages (".")

--no-install

List packages to vendorize but don’t install

Versions:
  • 2021-08-23 @ddalle: Version 1.0

  • 2022-09-30 @ddalle: Version 1.1; add -f option