Download include/python3.9/internal/pycore_pathconfig.h from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.94 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/include/python3.9/internal/pycore_pathconfig.h
- Command line
-
hf download hf://camenduru/slahmr-test/include/python3.9/internal/pycore_pathconfig.h
-
curl -L -o pycore_pathconfig.h https://huggingface.co/camenduru/slahmr-test/resolve/main/include/python3.9/internal/pycore_pathconfig.h
1.94 kB
| extern "C" { | |
| typedef struct _PyPathConfig { | |
| /* Full path to the Python program */ | |
| wchar_t *program_full_path; | |
| wchar_t *prefix; | |
| wchar_t *exec_prefix; | |
| /* Set by Py_SetPath(), or computed by _PyConfig_InitPathConfig() */ | |
| wchar_t *module_search_path; | |
| /* Python program name */ | |
| wchar_t *program_name; | |
| /* Set by Py_SetPythonHome() or PYTHONHOME environment variable */ | |
| wchar_t *home; | |
| /* isolated and site_import are used to set Py_IsolatedFlag and | |
| Py_NoSiteFlag flags on Windows in read_pth_file(). These fields | |
| are ignored when their value are equal to -1 (unset). */ | |
| int isolated; | |
| int site_import; | |
| /* Set when a venv is detected */ | |
| wchar_t *base_executable; | |
| } _PyPathConfig; | |
| /* Note: _PyPathConfig_INIT sets other fields to 0/NULL */ | |
| PyAPI_DATA(_PyPathConfig) _Py_path_config; | |
| PyAPI_DATA(wchar_t*) _Py_dll_path; | |
| extern void _PyPathConfig_ClearGlobal(void); | |
| extern PyStatus _PyPathConfig_Calculate( | |
| _PyPathConfig *pathconfig, | |
| const PyConfig *config); | |
| extern int _PyPathConfig_ComputeSysPath0( | |
| const PyWideStringList *argv, | |
| PyObject **path0); | |
| extern PyStatus _Py_FindEnvConfigValue( | |
| FILE *env_file, | |
| const wchar_t *key, | |
| wchar_t **value_p); | |
| extern wchar_t* _Py_GetDLLPath(void); | |
| extern PyStatus _PyConfig_WritePathConfig(const PyConfig *config); | |
| extern void _Py_DumpPathConfig(PyThreadState *tstate); | |
| } | |