| |
- builtins.Exception(builtins.BaseException)
-
- InvalidVenv
- NoVenv
- builtins.object
-
- UmPyVenv
class InvalidVenv(builtins.Exception) |
|
InvalidVenv(value)
Raised when there is an environment but it is in some way invalid |
|
- Method resolution order:
- InvalidVenv
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, value)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Data descriptors defined here:
- __weakref__
- list of weak references to the object (if defined)
Static methods inherited from builtins.Exception:
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- Helper for pickle.
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
|
class NoVenv(builtins.Exception) |
|
NoVenv(value)
Raised when there is no environment and it is possible to create one |
|
- Method resolution order:
- NoVenv
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, value)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Data descriptors defined here:
- __weakref__
- list of weak references to the object (if defined)
Static methods inherited from builtins.Exception:
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- Helper for pickle.
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
|
class UmPyVenv(builtins.object) |
|
UmPyVenv(env_dir, base)
Handle the Python Virtual Environment |
|
Methods defined here:
- __init__(self, env_dir, base)
- Initialize self. See help(type(self)) for accurate signature.
- __repr__(self)
- Return repr(self).
- __str__(self)
- Return str(self).
- install(self, pkg, from_path=None)
- Install packages from https://pypi.org or local disk
pkg - The package to install
from_path - The directory where to look for 'pkg'.
Note that any dependencies to 'pkg' also needs to be in the same directory.
- list(self)
- python_version(self, do_print=True)
- show(self, pkg)
- uninstall(self, pkg)
- upgrade(self, pkg)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |