Open agriyakhetarpal opened 1 month ago
Personally, I'm not a fan of the pyodide_sysconfig
prefix, but I think it helps avoid us being ambiguous. Also, I think python_sysconfig
would be a better prefix instead of pyodide_sysconfig
– this is ready for review, @ryanking13 (I don't have permissions to request reviews on this repository)
Description
This PR is a re-do of https://github.com/pyodide/pyodide/pull/4947, which aimed to add the include directory containing the Python interpreter headers. This PR goes one step further and adds a way to access all of the paths listed under
sysconfig.get_paths()
. These paths are available in the default configuration values underpyodide config list
and are accessible throughpyodide config get <variable name>
, saypyodide config get pyodide_sysconfig_include
. These contain thepyodide_sysconfig
prefix to prevent any potential conflicts with any of the other computed variables.Checklist
TestConfigManager_OutOfTree::test_default_config
, so an additional test isn't needed