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 5d5acd7 commit ecd7456Copy full SHA for ecd7456
Lib/sysconfig/__init__.py
@@ -219,18 +219,7 @@ def _safe_realpath(path):
219
if "_PYTHON_PROJECT_BASE" in os.environ:
220
_PROJECT_BASE = _safe_realpath(os.environ["_PYTHON_PROJECT_BASE"])
221
222
-def is_python_build(check_home=None):
223
- if check_home is not None:
224
- import warnings
225
- warnings.warn(
226
- (
227
- 'The check_home argument of sysconfig.is_python_build is '
228
- 'deprecated and its value is ignored. '
229
- 'It will be removed in Python 3.15.'
230
- ),
231
- DeprecationWarning,
232
- stacklevel=2,
233
- )
+def is_python_build():
234
for fn in ("Setup", "Setup.local"):
235
if os.path.isfile(os.path.join(_PROJECT_BASE, "Modules", fn)):
236
return True
0 commit comments