sfepy.config module

class sfepy.config.Config[source]
compile_flags()[source]
debug_flags() list[source]
is_release()[source]
numpydoc_path()[source]
python_include()[source]
python_version()[source]
refmap_memory_factor()[source]
system()[source]
tetgen_path()[source]
sfepy.config.compose_system_compile_flags(is_posix: bool) list[source]

Provides a list of compile flags that tries to be as similar as possible to what Python itself was built with. This has been done historically by numpy.distutils (now deprecated) and a squeezed version of it is brought over to here.

sfepy.config.has_attr(obj, attr)