We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2025e84 commit 2314e5fCopy full SHA for 2314e5f
1 file changed
src/python_redlines/engines.py
@@ -1,5 +1,6 @@
1
import subprocess
2
import tempfile
3
+import logging
4
import os
5
import platform
6
import zipfile
@@ -9,6 +10,8 @@
9
10
11
from .__about__ import __version__
12
13
+logger = logging.getLogger(__name__)
14
+
15
16
class XmlPowerToolsEngine(object):
17
def __init__(self):
@@ -19,8 +22,13 @@ def _unzip_binary(self):
19
22
Unzips the appropriate C# binary for the current platform.
20
23
"""
21
24
base_path = os.path.dirname(__file__)
25
+ logger.debug(f"Python redlining base path: {base_path}")
26
27
binaries_path = os.path.join(base_path, 'dist')
28
+ logger.debug(f"Python redlining binaries path: {binaries_path}")
29
30
target_path = os.path.join(base_path, 'bin')
31
+ logger.debug(f"Target path: {target_path}")
32
33
if not os.path.exists(target_path):
34
os.makedirs(target_path)
0 commit comments