define_02_venv

Virtualenv management related automation.

class pywf_open_source.define_02_venv.PyWfVenv[source]

Namespace class for Virtualenv management related automation.

create_virtualenv(real_run: bool = True, verbose: bool = True) bool[source]

Run:

$ poetry env use python${X}.${Y}
Returns:

a boolean flat to indicate whether a creation is performed.

remove_virtualenv(real_run: bool = True, verbose: bool = True)[source]

Run:

$ rm -r /path/to/.venv
Returns:

a boolean flag to indicate whether a deletion is performed.