Skip to content

fix the fix on historic behavioir #1619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions winpython/wppm.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,14 +338,11 @@ def main(test=False):
if args.movable:
p = subprocess.Popen(["start", "cmd", "/k",dist.python_exe, "-c" , cmd_mov], shell = True, cwd=dist.target)
sys.exit()
if not args.install and not args.uninstall:
args.install = True
if not Path(args.fname).is_file() and args.install:
if args.fname == "":
if not args.install and not args.uninstall and args.fname.endswith(".toml"):
args.install = True # for Drag & Drop of .toml (and not wheel)
if args.fname == "" or (not args.install and not args.uninstall):
parser.print_help()
sys.exit()
else:
args.install = True # for Drag & Drop of .toml (and not wheel)
else:
try:
filename = Path(args.fname).name
Expand Down