Commit 52adafa
committed
Create dist dir before packing wheels
Ensure the target dist directory exists before invoking the wheel packing step in SimplePackageBuilder and PythonPackageBuilder. Introduced a dist_dir variable (Path.cwd() / 'dist') and call dist_dir.mkdir(parents=True, exist_ok=True), then pass dist_dir to the pack command to avoid failures when the directory is missing and reduce repeated Path.cwd() calls.1 parent 55a90f0 commit 52adafa
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
| 635 | + | |
| 636 | + | |
635 | 637 | | |
636 | 638 | | |
637 | 639 | | |
| |||
641 | 643 | | |
642 | 644 | | |
643 | 645 | | |
644 | | - | |
| 646 | + | |
645 | 647 | | |
646 | 648 | | |
647 | 649 | | |
| |||
916 | 918 | | |
917 | 919 | | |
918 | 920 | | |
| 921 | + | |
| 922 | + | |
919 | 923 | | |
920 | 924 | | |
921 | 925 | | |
922 | 926 | | |
923 | 927 | | |
924 | 928 | | |
925 | 929 | | |
926 | | - | |
| 930 | + | |
927 | 931 | | |
928 | 932 | | |
929 | 933 | | |
| |||
0 commit comments