friendly_dist_manager.hooks module

PIP hooks for triggering build operations

class friendly_dist_manager.hooks.PEP517[source]

Bases: object

Hooks related to the PEP517 standard

https://www.python.org/dev/peps/pep-0517/

static build_wheel(wheel_directory, _config_settings=None, _metadata_directory=None)[source]

Hook triggered when user has requested a Python Wheel to be generated

https://www.python.org/dev/peps/pep-0517/#build-wheel

Parameters
  • wheel_directory (str) – Path where the generated wheel file should be placed

  • _config_settings (dict) – optional settings provided by the caller to customize the behavior of the wheel file creation

  • _metadata_directory (str) – Path to folder where metadata describing the contents of the wheel file can be found

Returns

Path to the generated wheel file

Return type

str