mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Regen the global objects using PYTHON_FOR_REGEN. (gh-31344)
https://bugs.python.org/issue46541
This commit is contained in:
parent
04215a4272
commit
1d9036425e
2 changed files with 3 additions and 3 deletions
|
|
@ -1176,8 +1176,8 @@ regen-importlib: regen-frozen
|
|||
# Global objects
|
||||
|
||||
.PHONY: regen-global-objects
|
||||
regen-global-objects: $(srcdir)/Tools/scripts/generate_global_objects.py $(FREEZE_MODULE_DEPS)
|
||||
$(PYTHON_FOR_FREEZE) $(srcdir)/Tools/scripts/generate_global_objects.py
|
||||
regen-global-objects: $(srcdir)/Tools/scripts/generate_global_objects.py
|
||||
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/scripts/generate_global_objects.py
|
||||
|
||||
############################################################################
|
||||
# ABI
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import re
|
|||
import sys
|
||||
|
||||
|
||||
assert os.path.isabs(__file__), __file__
|
||||
__file__ = os.path.abspath(__file__)
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
||||
INTERNAL = os.path.join(ROOT, 'Include', 'internal')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue