Module pluginconf.flit

monkeypatches flit to use pluginconf sources for packaging with a pyproject.toml like:

[build-system]
requires = ["pluginconf", "flit"]
build-backend = "pluginconf.flit"

[project]
name = "foobar"

Can be invoked per flit-pluginconf build or python -m build.

flit - can't believe it's not setup.py!!

Functions

def make_metadata(module, ini_info)

@inject different sourcing order to apply plugin meta fields

def pmd_meta(pmd, ini)

enjoin PMD fields with flit.common.MetaData

def read_flit_config(path)

@inject patch_flit_config() with forced dynamic fields