bpo-30273: Update sysconfig (#1464) · python/cpython@b109a1d (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit b109a1d

The AST_H_DIR variable was removed from Makefile.pre.in by the commita5c62a8 (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.

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -255,7 +255,6 @@ You can use :mod:`sysconfig` as a script with Python's *-m* option:
255 255 AIX_GENUINE_CPLUSPLUS = "0"
256 256 AR = "ar"
257 257 ARFLAGS = "rc"
258 - ASDLGEN = "./Parser/asdl_c.py"
259 258 ...
260 259
261 260 This call will print in the standard output the information returned by
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ def get_python_inc(plat_specific=0, prefix=None):
97 97 if plat_specific:
98 98 return base
99 99 if _sys_home:
100 -incdir = os.path.join(_sys_home, get_config_var('AST_H_DIR'))
100 +incdir = os.path.join(_sys_home, 'Include')
101 101 else:
102 102 incdir = os.path.join(get_config_var('srcdir'), 'Include')
103 103 return os.path.normpath(incdir)