pyk.ktool.utils module

final class KDistribution(path: Path)[source]

Bases: object

Represent the path to the K distribution.

path

Path to the K distribution.

Type:

pathlib.Path

property builtin_dir: Path

The path to the builtin directory.

static create() KDistribution | None[source]

Instantiate the class based on the path to the kompile binary.

path: Path