1.1.1.1.1.1. pmpm.packages.conda module#

class pmpm.packages.conda.Package(env: InstallEnvironment, update: bool | None = None, fast_update: bool = False, arch: str = 'x86-64-v3', tune: str = 'generic', version: str = 'master', install_ipykernel: bool = True)[source]#

Bases: GenericPackage

Generic package class.

Parameters:
  • env – the environment to install the package into.

  • update – whether to update the package if it is already installed.

  • fast_update – whether to use fast update. If True, it will be used if the package supports it, otherwise it will fall back to normal update.

  • package_name – the name of the package.

  • arch – the arch to compile for.

  • tune – the tune to compile for.

  • version – the version to install, which should be a valid git tag/branch for git-based packages.

install_env() None[source]#
install_ipykernel: bool = True#
package_name: ClassVar[str] = 'conda'#
property src_dir: Path#
update_env() None[source]#