Investigate environment variables that can be set when building Python wheels for a given project. Analyzes setup.py, CMake files, and other build configuration files to discover customizable build environment variables.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
scripts/env_finder.pyThis skill helps you discover all environment variables that can be set when building Python wheels for a project. It performs a comprehensive analysis of build configuration files to identify customizable environment variables used during the wheel building process.
When a user asks about environment variables for building Python wheels, investigating build configuration, or understanding build customization options:
Run the Environment Variables Investigation Script:
./scripts/env_finder.py [project_path]
Analyze and present the findings focusing on:
CC, CXX - Compiler selectionCFLAGS, CXXFLAGS - Compilation flagsLDFLAGS - Linker flagsLIBS - Additional librariesPREFIX - Installation prefixLIBRARY_PATH - Library search pathsINCLUDE_PATH - Header file pathsPKG_CONFIG_PATH - pkg-config search pathsENABLE_* - Feature enable/disable flagsWITH_* - Optional component inclusionUSE_* - Build option selectionDISABLE_* - Feature disable flagsPYTHON_INCLUDE_DIR - Python headers locationPYTHON_LIBRARY - Python library pathSETUPTOOLS_* - Setuptools configurationPIP_* - pip-related build variablesProvide actionable guidance:
The skill should provide a structured list of environment variables with: