python-package-folder 4.3.4__py3-none-any.whl → 4.3.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -525,6 +525,11 @@ function getGlobalNpmPaths() {
525
525
  fs.writeFileSync(tempPackageJson, originalPackageJsonContent, 'utf8');
526
526
  }
527
527
  }
528
+
529
+ // Clean up project root package.json if we created it
530
+ if (tempProjectRootPackageJson && fs.existsSync(tempProjectRootPackageJson)) {
531
+ fs.unlinkSync(tempProjectRootPackageJson);
532
+ }
528
533
 
529
534
  // Output result
530
535
  if (result && result.nextRelease && result.nextRelease.version) {
@@ -563,6 +568,15 @@ function getGlobalNpmPaths() {
563
568
  }
564
569
  }
565
570
  }
571
+
572
+ // Clean up project root package.json if we created it
573
+ if (tempProjectRootPackageJson && fs.existsSync(tempProjectRootPackageJson)) {
574
+ try {
575
+ fs.unlinkSync(tempProjectRootPackageJson);
576
+ } catch (e) {
577
+ // Ignore cleanup errors
578
+ }
579
+ }
566
580
 
567
581
  // Check if it's a "no release" case (common, not an error)
568
582
  if (error.message && (
@@ -610,6 +624,15 @@ function getGlobalNpmPaths() {
610
624
  }
611
625
  }
612
626
  }
627
+
628
+ // Clean up project root package.json if we created it
629
+ if (tempProjectRootPackageJson && fs.existsSync(tempProjectRootPackageJson)) {
630
+ try {
631
+ fs.unlinkSync(tempProjectRootPackageJson);
632
+ } catch (e) {
633
+ // Ignore cleanup errors
634
+ }
635
+ }
613
636
 
614
637
  // Check if it's a "no release" case (common, not an error)
615
638
  if (error.message && (
@@ -628,4 +651,4 @@ function getGlobalNpmPaths() {
628
651
  }
629
652
  process.exit(1);
630
653
  }
631
- })();
654
+ })();
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-package-folder
3
- Version: 4.3.4
3
+ Version: 4.3.5
4
4
  Summary: Python package to automatically package and build a folder, fetching all relevant dependencies.
5
5
  Project-URL: Repository, https://github.com/alelom/python-package-folder
6
6
  Author-email: Alessio Lombardi <work@alelom.com>
@@ -11,9 +11,9 @@ python_package_folder/subfolder_build.py,sha256=oH_KKLJIMByUZCl8y3AyohUO6Om0OvsI
11
11
  python_package_folder/types.py,sha256=3yeSRR5p_3PDKEAaehW_RJ7NwJHexOIeA08bGaT1iSY,2368
12
12
  python_package_folder/utils.py,sha256=lIkWsFKeAYAJ9TDUM99T4pUBHJVbUvCdUgkWQN-LUho,3111
13
13
  python_package_folder/version.py,sha256=kIDP6S9trEfs9gj7lBYGxrWm4RPssRla24UtlO9Jkh4,9111
14
- python_package_folder/scripts/get-next-version.cjs,sha256=gNmtDnsCwRK9io89pZpOFxJGykLxt-BV0da6-uO6OGQ,24476
15
- python_package_folder-4.3.4.dist-info/METADATA,sha256=V9A7sfpc2FUYcsyNSmVVR4niOwt2etusWtpmdwFQ6cY,37517
16
- python_package_folder-4.3.4.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
17
- python_package_folder-4.3.4.dist-info/entry_points.txt,sha256=ttu4wAhoYSHGhWQNercLz9IVTTpXxhVlRA9vSTvaLe0,91
18
- python_package_folder-4.3.4.dist-info/licenses/LICENSE,sha256=vNgRJh8YiecqZoZld7TtwPI5I72HIymKD9g32fiJjCE,1073
19
- python_package_folder-4.3.4.dist-info/RECORD,,
14
+ python_package_folder/scripts/get-next-version.cjs,sha256=bS-U981WtoI1S0JqnGDgrGlZmknMmUXPOA4nQ70Qv28,25231
15
+ python_package_folder-4.3.5.dist-info/METADATA,sha256=FiTghuwMujpxRmrr8IUH0r4Ks1FkMM9uPGtp-lfAxZ4,37517
16
+ python_package_folder-4.3.5.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
17
+ python_package_folder-4.3.5.dist-info/entry_points.txt,sha256=ttu4wAhoYSHGhWQNercLz9IVTTpXxhVlRA9vSTvaLe0,91
18
+ python_package_folder-4.3.5.dist-info/licenses/LICENSE,sha256=vNgRJh8YiecqZoZld7TtwPI5I72HIymKD9g32fiJjCE,1073
19
+ python_package_folder-4.3.5.dist-info/RECORD,,