bcpkgfox 0.16.44__py3-none-any.whl → 0.16.46__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.

Potentially problematic release.


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

bcpkgfox/cli.py CHANGED
@@ -837,17 +837,19 @@ class cli:
837
837
  # Re-write
838
838
  add_list = []
839
839
  imports = self.cli.find_imports.main(return_=True)
840
+ imports_lower = {imp.lower() for imp in imports}
840
841
  with open(f'{name}', 'w') as f:
841
842
  for line in lines:
842
- if [imp.lower() for imp in imports] in line.lower():
843
+ pkg = line.split('==')[0].strip().lower()
844
+ if pkg in imports_lower:
843
845
  f.write(line)
844
- add_list.append(line)
846
+ add_list.append(pkg)
845
847
  else:
846
848
  print(f'nao encontrado: {line.lower()}')
847
849
  print(f"\n\nImports: {[imp.lower() for imp in imports]}")
848
850
 
849
851
  print(f"{self.visuals.bold}{self.visuals.GR} > Requirements created with sucessfuly {self.visuals.RESET}\n")
850
- 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}")
851
853
 
852
854
  def main(self):
853
855
  try: self.delete_venv()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.44
3
+ Version: 0.16.46
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -1,13 +1,13 @@
1
1
  bcpkgfox/__init__.py,sha256=BCTiPEXhpV3lV3HSVW6iCWFVema6VsIuwCQrUcHk8QM,16416
2
2
  bcpkgfox/clean.py,sha256=80pJDTGmKmPiq73uL1IWopuxqVJF_bj_RVv-njkpl-A,8946
3
- bcpkgfox/cli.py,sha256=esI6KrBUB7jQr92RUY-Tjr-AiLYV2RuCS7-Yf7ER_Vk,33324
3
+ bcpkgfox/cli.py,sha256=EHhSCpEOvZjwLXZJkpL65uudIx-tJciNniD4_QjxulY,33433
4
4
  bcpkgfox/exec_file.py,sha256=fl_Do2SlF7JuXazpNTod-e_0WZUk355fbd7ustQvi40,3728
5
5
  bcpkgfox/find_elements.py,sha256=oeB-73LqMLoKchozPXuxRkThBju9IgUKqbgU-2AAq0s,23027
6
6
  bcpkgfox/get_driver.py,sha256=ohimk9E2hL6T35IXv0XX0uvWDGCUZvZDlPMnuRjV1R0,30490
7
7
  bcpkgfox/invoke_api.py,sha256=UTksbSmg6yucWk-egH1gavYoViKvpUq-OAp5t308ZmY,5334
8
8
  bcpkgfox/system.py,sha256=3lyOWx893T6KiAI-jDv7zAo3oKPf0Q5CLgZ8TeFd0Do,7901
9
- bcpkgfox-0.16.44.dist-info/METADATA,sha256=7XeCSOWESjJK0CtyzOQBRDCrN_I7Q8wHxpjVY8pgyHU,1912
10
- bcpkgfox-0.16.44.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
- bcpkgfox-0.16.44.dist-info/entry_points.txt,sha256=qmaEg6K7Y0HOeaFo-G6lf44InGkeVI4I6hqobcY_nns,653
12
- bcpkgfox-0.16.44.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
13
- bcpkgfox-0.16.44.dist-info/RECORD,,
9
+ bcpkgfox-0.16.46.dist-info/METADATA,sha256=cuPoA0x5i9kdNI30E_NewLHz7seo8ZbIQV6uTO5sCoU,1912
10
+ bcpkgfox-0.16.46.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
+ bcpkgfox-0.16.46.dist-info/entry_points.txt,sha256=qmaEg6K7Y0HOeaFo-G6lf44InGkeVI4I6hqobcY_nns,653
12
+ bcpkgfox-0.16.46.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
13
+ bcpkgfox-0.16.46.dist-info/RECORD,,