Skip to content

Commit

Permalink
Include CONFIG_ARGS in Metadata (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersGlass authored Apr 19, 2024
1 parent 32d8133 commit 9a99cbe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyperf/_collect_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ def collect_python_metadata(metadata):
cflags = normalize_text(cflags)
metadata['python_cflags'] = cflags

config_args = sysconfig.get_config_var('CONFIG_ARGS')
if config_args:
config_args = normalize_text(config_args)
metadata['python_config_args'] = config_args

# GC disabled?
try:
import gc
Expand Down

0 comments on commit 9a99cbe

Please sign in to comment.