bcpkgfox 0.16.10__py3-none-any.whl → 0.16.12__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.
bcpkgfox/cli.py CHANGED
@@ -391,11 +391,17 @@ class cli:
391
391
  dist_path = os.path.join(self.current_dir, "dist")
392
392
  new_path = os.path.join(self.current_dir, target_name)
393
393
 
394
- if os.path.exists(dist_path):
394
+ if os.path.exists(dist_path) and os.path.exists(f"{new_path}_temp"):
395
395
  os.rename(dist_path, new_path)
396
- print(f"Renamed 'dist' to '{target_name}'")
396
+
397
+ os.mkdir(f"{new_path}_temp")
398
+ time.sleep(0.5)
399
+ os.rename(new_path, f"{new_path}_temp\\{target_name}")
400
+
401
+ print(f"Renamed and moved 'dist' to '{new_path, f"{new_path}_temp\\{target_name}"}'")
397
402
  else:
398
- print("Error: 'dist' directory not found!")
403
+ print(f"{self.visuals.bold}{self.visuals.RD}Error: 'dist' directory not found!{self.visuals.RESET}")
404
+ sys.exit(1)
399
405
 
400
406
  zip_path = shutil.make_archive(new_path, 'zip', new_path)
401
407
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.10
3
+ Version: 0.16.12
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -1,12 +1,12 @@
1
1
  bcpkgfox/__init__.py,sha256=tIFJ-KIMZK_ZjcrUg92QoHd2Rbte4cvuPMlPUzjtK0U,15945
2
- bcpkgfox/cli.py,sha256=AnAesUIpvP5-qAXq4C1LARdQYeuQf5UiOglcF7xesog,30072
2
+ bcpkgfox/cli.py,sha256=NCgnxXU3HnTEwBjeWcBcAk_WYZmmStqgTEtLNn1Vln8,30410
3
3
  bcpkgfox/exec_file.py,sha256=fl_Do2SlF7JuXazpNTod-e_0WZUk355fbd7ustQvi40,3728
4
4
  bcpkgfox/find_elements.py,sha256=oeB-73LqMLoKchozPXuxRkThBju9IgUKqbgU-2AAq0s,23027
5
5
  bcpkgfox/get_driver.py,sha256=ohimk9E2hL6T35IXv0XX0uvWDGCUZvZDlPMnuRjV1R0,30490
6
6
  bcpkgfox/invoke_api.py,sha256=UTksbSmg6yucWk-egH1gavYoViKvpUq-OAp5t308ZmY,5334
7
7
  bcpkgfox/system.py,sha256=U5vEReSVIQ7LZ-1slUglNyU6k0Vahfioozm6QVEIqfE,6732
8
- bcpkgfox-0.16.10.dist-info/METADATA,sha256=SZ4LNR5L48OqHsHzzwmkYAD0q9jyAWeApPq78QBtrF8,1912
9
- bcpkgfox-0.16.10.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
10
- bcpkgfox-0.16.10.dist-info/entry_points.txt,sha256=zzthtJtEpeRjlpE6YDBbSGVH6hvnnVyRxVSSgz1_S0M,337
11
- bcpkgfox-0.16.10.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
12
- bcpkgfox-0.16.10.dist-info/RECORD,,
8
+ bcpkgfox-0.16.12.dist-info/METADATA,sha256=_6bK1VOCFcm2BQBm6fP7N3RfRmcCnFB2DEbZ3wM3PVc,1912
9
+ bcpkgfox-0.16.12.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
10
+ bcpkgfox-0.16.12.dist-info/entry_points.txt,sha256=zzthtJtEpeRjlpE6YDBbSGVH6hvnnVyRxVSSgz1_S0M,337
11
+ bcpkgfox-0.16.12.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
12
+ bcpkgfox-0.16.12.dist-info/RECORD,,