Skip to content

Commit

Permalink
include self.setup at beginning of BinProvider.install by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate committed Oct 24, 2024
1 parent 6b255e1 commit a116eae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pydantic_pkgr/binprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ def default_packages_handler(self, bin_name: BinName, **context) -> 'PackagesFun

# @validate_call
def default_install_handler(self, bin_name: BinName, packages: Optional[InstallArgs]=None, **context) -> 'InstallFuncReturnValue': # aka str
self.setup()
packages = packages or self.get_packages(bin_name)
if not self.INSTALLER_BIN_ABSPATH:
raise Exception(f'{self.name} install method is not available on this host ({self.INSTALLER_BIN} not found in $PATH)')
Expand Down

0 comments on commit a116eae

Please sign in to comment.