8000
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 0d94ec9 commit 5c97cdaCopy full SHA for 5c97cda
Lib/ensurepip/__init__.py
@@ -16,9 +16,10 @@
16
# policies recommend against bundling dependencies. For example, Fedora
17
# installs wheel packages in the /usr/share/python-wheels/ directory and don't
18
# install the ensurepip._bundled package.
19
-_WHEEL_PKG_DIR = (
20
- whl_pkg_dir_str := sysconfig.get_config_var('WHEEL_PKG_DIR' 6613 )
21
-) is not None and Path(whl_pkg_dir_str).resolve() or None
+if (_pkg_dir := sysconfig.get_config_var('WHEEL_PKG_DIR')) is not None:
+ _WHEEL_PKG_DIR = Path(_pkg_dir).resolve()
+else:
22
+ _WHEEL_PKG_DIR = None
23
24
25
def _find_wheel_pkg_dir_pip():
0 commit comments