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.
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/PKG-INFO +1 -1
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox/cli.py +5 -1
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/setup.py +1 -1
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/README.md +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox/clean.py +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox/invoke_api.py +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.16.43 → bcpkgfox-0.16.45}/setup.cfg +0 -0
|
@@ -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
|
|
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()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|