bcpkgfox 0.16.48__tar.gz → 0.16.49__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.48
3
+ Version: 0.16.49
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -839,14 +839,18 @@ class cli:
839
839
  imports = self.cli.find_imports.main(return_=True)
840
840
  imports_lower = {imp.lower() for imp in imports}
841
841
  with open(f'{name}', 'w') as f:
842
+
842
843
  for line in lines:
844
+
845
+ # Formats
846
+ if '\n' in line:
847
+ line = line.replace('\n', '')
848
+
849
+ # Compares
843
850
  pkg = line.split('==')[0].strip().lower()
844
851
  if pkg in imports_lower:
845
852
  f.write(line.strip())
846
853
  add_list.append(line)
847
- else:
848
- print(f'nao encontrado: {line.lower()}')
849
- print(f"\n\nImports: {[imp.lower() for imp in imports]}")
850
854
 
851
855
  print(f"{self.visuals.bold}{self.visuals.GR} > Requirements created with sucessfuly {self.visuals.RESET}\n")
852
856
  print(f"{self.visuals.bold}{self.visuals.YL} Libraries installed: " + "".join(f"\n {lib}" for lib in add_list) + f"{self.visuals.RESET}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.48
3
+ Version: 0.16.49
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.48",
5
+ version="0.16.49",
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