We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c067b7 commit c74133bCopy full SHA for c74133b
Tools/peg_generator/pegen/build.py
@@ -143,6 +143,10 @@ def compile_c_extension(
143
str(MOD_DIR.parent.parent.parent / "Parser" / "lexer"),
144
str(MOD_DIR.parent.parent.parent / "Parser" / "tokenizer"),
145
]
146
+ if sys.platform == "win32":
147
+ # HACK: The location of pyconfig.h has moved within our build, and
148
+ # setuptools hasn't updated for it yet. So add the path manually for now
149
+ include_dirs.append(pathlib.Path(sysconfig.get_config_h_filename()).parent)
150
extension = Extension(
151
extension_name,
152
sources=[generated_source_path],
0 commit comments