1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-07-22 05:33:19 +00:00

Remove usage of deprecated setuptools sandbox

The sandbox module has been deprecated for several Python versions and
is now removed.
This commit is contained in:
glubsy 2025-07-19 20:20:31 +02:00
parent 8f197ea7e1
commit c9aa6f1b7a

View File

@ -10,7 +10,6 @@ from optparse import OptionParser
import shutil
from multiprocessing import Pool
from setuptools import sandbox
from hscommon import sphinxgen
from hscommon.build import (
add_to_pythonpath,
@ -18,6 +17,7 @@ from hscommon.build import (
fix_qt_resource_file,
)
from hscommon import loc
import subprocess
def parse_args():
@ -118,7 +118,7 @@ def build_normpo():
def build_pe_modules():
print("Building PE Modules")
# Leverage setup.py to build modules
sandbox.run_setup("setup.py", ["build_ext", "--inplace"])
subprocess.check_call([sys.executable, "setup.py", "build_ext", "--inplace"])
def build_normal():