F2x.distutils.strategy package¶
This module controls the built-in build strategies. It provides a registry that can be used to add and retrieve custom build strategies.
See also
F2x.distutils.strategy.base.BuildStrategyThe documentation of
F2x.distutils.strategy.base.BuildStrategycontains details about the build process and how to modify it with own build strategies.F2x.distutils.strategy.library.ExtensionLibBuildStrategyA build strategy to create Python extensions that need to load a library with the compiled wrapper code (like the
F2x.template.ctypestemplate).F2x.distutils.strategy.extension.ExtensionBuildStrategyA build strategy to create Python C extensions that contain the wrapper code in a loadable module.
-
F2x.distutils.strategy.get_strategy()¶ D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.
-
F2x.distutils.strategy.register_strategy(name, strategy)¶ Add a new strategy to the registry. If a strategy with the same name is already registered, it will be overwritten.
- Parameters
name – Name for the new strategy.
strategy – An instance of a subclass of
BuildStrategy.
-
F2x.distutils.strategy.show_strategies()¶