Skip to content

Commit

Permalink
Revert sysconfig change
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed Dec 12, 2023
1 parent d01aa34 commit c69f931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/sysconfig/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def get_config_h_filename():
"""Return the path of pyconfig.h."""
if _PYTHON_BUILD:
if os.name == "nt":
inc_dir = os.path.dirname(sys._base_executable)
inc_dir = os.path.join(_PROJECT_BASE, "PC")
else:
inc_dir = _PROJECT_BASE
else:
Expand Down

0 comments on commit c69f931

Please sign in to comment.