Status

class setup.Status(is_conda: bool)

Bases: object

Simple Status output for intercepting Conda/Pip installs and keeping the terminal clean

Parameters:

is_conda (bool) – True if installing packages from Conda. False if installing from pip

Methods Summary

__call__(line)

Update the output status with the given line

close()

Reset all progress bars and re-enable the cursor

Methods Documentation

__call__(line: str) None

Update the output status with the given line

Parameters:

line (str) – A cleansed line from either Conda or Pip installers

Return type:

None

close() None

Reset all progress bars and re-enable the cursor

Return type:

None

__call__(line: str) None

Update the output status with the given line

Parameters:

line (str) – A cleansed line from either Conda or Pip installers

Return type:

None

close() None

Reset all progress bars and re-enable the cursor

Return type:

None