bundle.tracy.pybind_plugin

PybindPluginSpec that injects Tracy-specific, platform-conditional build flags.

Classes

TracyPlatformPlugin

Helper class that provides a standard way to create an ABC using

Module Contents

class bundle.tracy.pybind_plugin.TracyPlatformPlugin[source]

Bases: bundle.pybind.plugins.PybindPluginSpec

Helper class that provides a standard way to create an ABC using inheritance.

async apply(module: bundle.pybind.specs.ModuleSpec) bundle.pybind.specs.ModuleSpec[source]

Applies plugin logic to a module specification or a resolved module. This method is asynchronous to allow for I/O operations within plugins. It should return the (potentially modified) module. For immutability, it’s recommended to return a new instance if changes are made.