packing_packages.pack package

packing_packages.pack package#

Packing packages for distribution and installation.

This module provides functionality to pack conda environments and their dependencies into a specified directory.

$ python -m packing_packages pack --help

or

$ packing-packages pack --help
packing_packages.pack.packing_packages(env_name: str | None = None, dirpath_target: PathLike | str = '.', diff_only: bool = False, encoding: str | None = None, dry_run: bool = False) None#

packaging conda environment packages

Parameters:
  • env_name (str) – conda environment name

  • dirpath_target (str) – target directory path

  • diff_only (bool) – if True, only download packages that are not already downloaded

  • encoding (str) – encoding for subprocess output

  • dry_run (bool) – if True, do not download files

Subpackages#