bcpkgfox 0.16.43__tar.gz → 0.16.45__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.

Potentially problematic release.


This version of bcpkgfox might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.43
3
+ Version: 0.16.45
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -835,16 +835,20 @@ class cli:
835
835
  lines = f.readlines()
836
836
 
837
837
  # Re-write
838
+ add_list = []
838
839
  imports = self.cli.find_imports.main(return_=True)
840
+ imports_lower = {imp.lower() for imp in imports}
839
841
  with open(f'{name}', 'w') as f:
840
842
  for line in lines:
841
- if [imp.lower() for imp in imports] in line.lower():
843
+ if any(imp in line.lower() for imp in imports_lower):
842
844
  f.write(line)
845
+ add_list.append(line)
843
846
  else:
844
847
  print(f'nao encontrado: {line.lower()}')
845
848
  print(f"\n\nImports: {[imp.lower() for imp in imports]}")
846
849
 
847
850
  print(f"{self.visuals.bold}{self.visuals.GR} > Requirements created with sucessfuly {self.visuals.RESET}\n")
851
+ print(f"{self.visuals.bold}{self.visuals.YL} Libraries installed: {[f'\n {lib}' for lib in add_list]} {self.visuals.RESET}")
848
852
 
849
853
  def main(self):
850
854
  try: self.delete_venv()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.43
3
+ Version: 0.16.45
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.43",
5
+ version="0.16.45",
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
File without changes