Skip to content

Commit 2314e5f

Browse files
committed
Add log lines.
1 parent 2025e84 commit 2314e5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/python_redlines/engines.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import subprocess
22
import tempfile
3+
import logging
34
import os
45
import platform
56
import zipfile
@@ -9,6 +10,8 @@
910

1011
from .__about__ import __version__
1112

13+
logger = logging.getLogger(__name__)
14+
1215

1316
class XmlPowerToolsEngine(object):
1417
def __init__(self):
@@ -19,8 +22,13 @@ def _unzip_binary(self):
1922
Unzips the appropriate C# binary for the current platform.
2023
"""
2124
base_path = os.path.dirname(__file__)
25+
logger.debug(f"Python redlining base path: {base_path}")
26+
2227
binaries_path = os.path.join(base_path, 'dist')
28+
logger.debug(f"Python redlining binaries path: {binaries_path}")
29+
2330
target_path = os.path.join(base_path, 'bin')
31+
logger.debug(f"Target path: {target_path}")
2432

2533
if not os.path.exists(target_path):
2634
os.makedirs(target_path)

0 commit comments

Comments
 (0)