vmklib.tasks.python
index
/home/vkottler/src/vkottler/workspace/vmklib/vmklib/tasks/python/__init__.py

Utilities for working with Python.

 
Package Contents
       
build
datazen
docs
lint
package
release
sa
test
yaml

 
Functions
       
python_entry(version: str = None) -> str
Attempt to get a Python entry-point as a string.
python_version() -> str
Get the version of Python to use.
venv_bin(cwd: Union[pathlib.Path, str, NoneType], program: str = None, version: str = None) -> pathlib.Path
Get the path to a virtual environment's script directory.
venv_dir(cwd: Union[pathlib.Path, str, NoneType], version: str = None) -> pathlib.Path
Get the path for a virtual environment to use.
venv_name(version: str = None) -> str
Get the name for a virtual environment to use.

 
Data
        PREFIX = 'python-'
__all__ = ['PREFIX', 'python_version', 'python_entry', 'venv_name', 'venv_dir', 'venv_bin']