Skip to content

Commit

Permalink
Cleanup and more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed Oct 24, 2024
1 parent 6a0f8fe commit 2cb3314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jpyutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
# This way importing jpyutil does not interfere with logging in other modules
logger = logging.getLogger('jpyutil')
# Get log level from environment variable JPY_LOG_LEVEL. Default to INFO
os.environ['JPY_LOG_LEVEL'] = 'DEBUG'
log_level = os.getenv('JPY_LOG_LEVEL', 'INFO')
try:
logger.setLevel(getattr(logging, log_level))
Expand Down Expand Up @@ -306,6 +305,7 @@ def _find_python_dll_file(fail=False):
# Prepare list of search directories
search_dirs = [sys.prefix]

# installed_base/lib needs to be added to the search path for Python 3.13t files
installed_base = sysconfig.get_config_var('installed_base')
if installed_base:
search_dirs.append(os.path.join(installed_base, "lib"))
Expand Down

0 comments on commit 2cb3314

Please sign in to comment.