Skip to content

Commit

Permalink
🚑️ v1.0.5 Fix issue to allow for user-level site-packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeares committed Jul 13, 2022
1 parent fa7935f commit 7e6641b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meerschaum/config/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Specify the Meerschaum release version.
"""

__version__ = "1.0.4"
__version__ = "1.0.5"
4 changes: 3 additions & 1 deletion meerschaum/utils/packages/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def get_module_path(
import_name_lower = install_name_lower
else:
import_name_lower = import_name.lower().replace('-', '_')
vtp = venv_target_path(venv)
vtp = venv_target_path(venv, allow_nonexistent=True, debug=debug)
if not vtp.exists():
return None
candidates = []
for file_name in os.listdir(vtp):
file_name_lower = file_name.lower().replace('-', '_')
Expand Down

0 comments on commit 7e6641b

Please sign in to comment.