8000 bpo-30273: Update sysconfig (#1464) · python/cpython@b109a1d · GitHub
[go: up one dir, main page]

Skip to content

Commit b109a1d

Browse files
authored
bpo-30273: Update sysconfig (#1464)
The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8 (bpo-23404). AST_H_DIR was hardcoded to "Include", so replace the removed variable by its content. Remove also ASDLGEN variable from sysconfig example since this variable was also removed.
1 parent 6dd4d73 commit b109a1d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Doc/library/sysconfig.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ You can use :mod:`sysconfig` as a script with Python's *-m* option:
255255
AIX_GENUINE_CPLUSPLUS = "0"
256256
AR = "ar"
257257
ARFLAGS = "rc"
258-
ASDLGEN = "./Parser/asdl_c.py"
259258
...
260259
261260
This call will print in the standard output the information returned by

Lib/distutils/sysconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def get_python_inc(plat_specific=0, prefix=None):
9797
if plat_specific:
9898
return base
9999
if _sys_home:
100-
incdir = os.path.join(_sys_home, get_config_var('AST_H_DIR'))
100+
incdir = os.path.join(_sys_home, 'Include')
101101
else:
102102
incdir = os.path.join(get_config_var('srcdir'), 'Include')
103103
return os.path.normpath(incdir)

0 commit comments

Comments
 (0)
0