bcpkgfox 0.16.45__tar.gz → 0.16.47__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.45
3
+ Version: 0.16.47
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -840,7 +840,8 @@ class cli:
840
840
  imports_lower = {imp.lower() for imp in imports}
841
841
  with open(f'{name}', 'w') as f:
842
842
  for line in lines:
843
- if any(imp in line.lower() for imp in imports_lower):
843
+ pkg = line.split('==')[0].strip().lower()
844
+ if pkg in imports_lower:
844
845
  f.write(line)
845
846
  add_list.append(line)
846
847
  else:
@@ -848,7 +849,7 @@ class cli:
848
849
  print(f"\n\nImports: {[imp.lower() for imp in imports]}")
849
850
 
850
851
  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}")
852
+ print(f"{self.visuals.bold}{self.visuals.YL} Libraries installed: " + "".join(f"\n {lib}" for lib in add_list) + f"{self.visuals.RESET}")
852
853
 
853
854
  def main(self):
854
855
  try: self.delete_venv()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.45
3
+ Version: 0.16.47
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.45",
5
+ version="0.16.47",
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