mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 09:54:18 +00:00
Move redist tools to central location (#334)
* Move redist tools to central location * Include exe and dll in package setup
This commit is contained in:
BIN
tools/isledecomp/isledecomp/lib/DUMPBIN.EXE
Executable file
BIN
tools/isledecomp/isledecomp/lib/DUMPBIN.EXE
Executable file
Binary file not shown.
BIN
tools/isledecomp/isledecomp/lib/LINK.EXE
Executable file
BIN
tools/isledecomp/isledecomp/lib/LINK.EXE
Executable file
Binary file not shown.
BIN
tools/isledecomp/isledecomp/lib/MSPDB41.DLL
Normal file
BIN
tools/isledecomp/isledecomp/lib/MSPDB41.DLL
Normal file
Binary file not shown.
13
tools/isledecomp/isledecomp/lib/__init__.py
Normal file
13
tools/isledecomp/isledecomp/lib/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""Provides a reference point for redistributed tools found in this directory.
|
||||
This allows you to get the path for these tools from a script run anywhere."""
|
||||
from os.path import join, dirname
|
||||
|
||||
|
||||
def lib_path() -> str:
|
||||
"""Returns the directory for this module."""
|
||||
return dirname(__file__)
|
||||
|
||||
|
||||
def lib_path_join(name: str) -> str:
|
||||
"""Convenience wrapper for os.path.join."""
|
||||
return join(lib_path(), name)
|
||||
BIN
tools/isledecomp/isledecomp/lib/cvdump.exe
Normal file
BIN
tools/isledecomp/isledecomp/lib/cvdump.exe
Normal file
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
import subprocess
|
||||
from .utils import get_file_in_script_dir
|
||||
from isledecomp.lib import lib_path_join
|
||||
|
||||
|
||||
class RecompiledInfo:
|
||||
@@ -18,7 +18,7 @@ class SymInfo:
|
||||
|
||||
def __init__(self, pdb, sym_recompfile, sym_logger, sym_wine_path_converter=None):
|
||||
self.logger = sym_logger
|
||||
call = [get_file_in_script_dir("cvdump.exe"), "-l", "-s"]
|
||||
call = [lib_path_join("cvdump.exe"), "-l", "-s"]
|
||||
|
||||
if sym_wine_path_converter:
|
||||
# Run cvdump through wine and convert path to Windows-friendly wine path
|
||||
|
||||
Reference in New Issue
Block a user