fj.lib.wheel

Handle ‘wheel’ distribution files.

Functions

build_wheel(registry, source_dir_path, …)

Build a wheel distribution file.

get_metadata(wheel_path)

Get metadata for a ‘wheel’ distribution file.

parse_file_path(file_path)

Parse ‘wheel’ file path to extract project’s key, tags and version.

Classes

Pep517WheelBuilder()

Wheel builder based on PEP517.

WheelCandidate(registry, uri_str, …)

Candidate for a ‘wheel’ distribution.

WheelCandidateMaker()

Make candidate for a ‘wheel’ distribution file.

Exceptions

CanNotBuildWheel

Can not build wheel.

CanNotFindBuiltWheel

Can not find the built wheel.

exception fj.lib.wheel.CanNotBuildWheel

Can not build wheel.

exception fj.lib.wheel.CanNotFindBuiltWheel

Can not find the built wheel.

class fj.lib.wheel.Pep517WheelBuilder

Wheel builder based on PEP517.

build(registry, source_dir_path, target_dir_path)

Implement.

class fj.lib.wheel.WheelCandidate(registry, uri_str, project_key, release_version, tags, extras, is_direct)

Candidate for a ‘wheel’ distribution.

property is_built

Override.

is_compatible(requirements, environment)

Implement abstract.

class fj.lib.wheel.WheelCandidateMaker

Make candidate for a ‘wheel’ distribution file.

class ParserResult(project_key, release_version, tags)

Override.

fj.lib.wheel.build_wheel(registry, source_dir_path, target_dir_path)

Build a wheel distribution file.

fj.lib.wheel.get_metadata(wheel_path)

Get metadata for a ‘wheel’ distribution file.

fj.lib.wheel.parse_file_path(file_path)

Parse ‘wheel’ file path to extract project’s key, tags and version.