bcpkgfox 0.16.16__tar.gz → 0.16.17__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.16
3
+ Version: 0.16.17
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -392,9 +392,10 @@ class cli:
392
392
  temp_path = os.path.join(self.current_dir, f"{target_name}_temp")
393
393
  inner_path = os.path.join(temp_path, target_name)
394
394
 
395
- if os.path.exists(os.path.join(self.current_dir, f"{target_name}.zip")):
396
- shutil.rmtree(os.path.join(self.current_dir, f"{target_name}.zip"))
397
- if os.path.exists(os.path.join(self.current_dir, f"{target_name}")):
395
+ if os.path.isfile(os.path.join(self.current_dir, f"{target_name}.zip")):
396
+ os.remove(os.path.join(self.current_dir, f"{target_name}.zip"))
397
+
398
+ if os.path.isfile(os.path.join(self.current_dir, f"{target_name}")):
398
399
  shutil.rmtree(os.path.join(self.current_dir, f"{target_name}"))
399
400
 
400
401
  if os.path.exists(dist_path):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.16
3
+ Version: 0.16.17
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="bcpkgfox",
5
- version="0.16.16",
5
+ version="0.16.17",
6
6
  author="Guilherme Neri",
7
7
  author_email="guilherme.neri@bcfox.com.br",
8
8
  description="Biblioteca BCFOX",
File without changes
File without changes