Skip to content

Commit 6337c91

Browse files
committed
fixes lost in translation to wppm
1 parent 0e2d399 commit 6337c91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wppm/wppm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Copyright © 2012 Pierre Raybaut
55
# Copyright © 2014-2025+ The Winpython development team https://github.com/winpython/
66
# Licensed under the terms of the MIT License
7-
# (see winpython/__init__.py for details)
7+
# (see wppm/__init__.py for details)
88

99
import os
1010
import re
@@ -358,8 +358,8 @@ def main(test=False):
358358
sys.exit()
359359
if utils.is_python_distribution(args.target):
360360
dist = Distribution(args.target, verbose=True)
361-
cmd_fix = rf"from winpython import wppm;dist=wppm.Distribution(r'{dist.target}');dist.patch_standard_packages('pip', to_movable=False)"
362-
cmd_mov = rf"from winpython import wppm;dist=wppm.Distribution(r'{dist.target}');dist.patch_standard_packages('pip', to_movable=True)"
361+
cmd_fix = rf"from wppm import wppm;dist=wppm.Distribution(r'{dist.target}');dist.patch_standard_packages('pip', to_movable=False)"
362+
cmd_mov = rf"from wppm import wppm;dist=wppm.Distribution(r'{dist.target}');dist.patch_standard_packages('pip', to_movable=True)"
363363
if args.fix:
364364
# dist.patch_standard_packages('pip', to_movable=False) # would fail on wppm.exe
365365
p = subprocess.Popen(["start", "cmd", "/k",dist.python_exe, "-c" , cmd_fix], shell = True, cwd=dist.target)

0 commit comments

Comments
 (0)