Skip to content

Commit

Permalink
try to fix get site-packages folder for ubutnu
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Mar 28, 2024
1 parent 2ed9b9d commit 2829d4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def get_site_package_folder(self):
def find_lib_folder(self, lib_name:str):
dirs = [f for f in os.listdir(self.get_site_package_folder()) if f.startswith(lib_name.replace('-', '_')+'-')]
if len(dirs) == 1:
for f in os.listdir(os.path.join(self.get_site_package_folder(),dirs[0])):
print(f"file in dir: {f}")
return os.path.join(self.get_site_package_folder(), dirs[0])
return None

Expand Down

0 comments on commit 2829d4b

Please sign in to comment.