summaryrefslogtreecommitdiffstats
path: root/lang/python/python-pip/patches/001-pyproject-hooks-pyc-fix.patch
blob: 27681c1af4557c2b77bba1da4fd37a2f88f297da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/pip/_vendor/pyproject_hooks/_in_process/__init__.py
+++ b/src/pip/_vendor/pyproject_hooks/_in_process/__init__.py
@@ -11,8 +11,8 @@ try:
 except AttributeError:
     # Python 3.8 compatibility
     def _in_proc_script_path():
-        return resources.path(__package__, '_in_process.py')
+        return resources.path(__package__, '_in_process.pyc')
 else:
     def _in_proc_script_path():
         return resources.as_file(
-            resources.files(__package__).joinpath('_in_process.py'))
+            resources.files(__package__).joinpath('_in_process.pyc'))