MINGW-packages/mingw-w64-python-installer/001-launcher-relative.patch
Christoph Reiter 3555e615d7 python-installer: Update to 0.5.1
the prefix PR was rebased, so the patch here was just refreshed from there.
2022-06-19 18:35:58 +02:00

12 lines
608 B
Diff

--- installer-0.5.1/src/installer/__main__.py.orig 2022-06-19 18:30:28.683232600 +0200
+++ installer-0.5.1/src/installer/__main__.py 2022-06-19 18:32:39.694046700 +0200
@@ -86,7 +86,7 @@
with WheelFile.open(args.wheel) as source:
destination = SchemeDictionaryDestination(
scheme_dict=_get_scheme_dict(source.distribution, prefix=args.prefix),
- interpreter=sys.executable,
+ interpreter= r'<launcher_dir>\python.exe',
script_kind=get_launcher_kind(),
bytecode_optimization_levels=bytecode_levels,
destdir=args.destdir,