config.py

Setup config object for PETGEM, namely: python version, system, flags and links for C extension (if C dependencies exist).

class petgem.config.Config[source]

Setup config object for PETGEM

compile_flags()[source]

Setup flags for C compilation (is C code exist).

debug_flags()[source]

Setup debug flags.

is_release()[source]

Setup a release version of PETGEM.

Setup links for flags.

numpydoc_path()[source]

Setup numpydoc path

python_include()[source]

Setup python include.

python_version()[source]

Setup python version.

system()[source]

Setup system.

petgem.config.has_attr(obj, attr)