mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Merge pull request #1310 from glubsy/build/fix/setuptools_sandbox_deprecation
Remove usage of deprecated setuptools sandbox
This commit is contained in:
4
build.py
4
build.py
@@ -10,7 +10,6 @@ from optparse import OptionParser
|
|||||||
import shutil
|
import shutil
|
||||||
from multiprocessing import Pool
|
from multiprocessing import Pool
|
||||||
|
|
||||||
from setuptools import sandbox
|
|
||||||
from hscommon import sphinxgen
|
from hscommon import sphinxgen
|
||||||
from hscommon.build import (
|
from hscommon.build import (
|
||||||
add_to_pythonpath,
|
add_to_pythonpath,
|
||||||
@@ -18,6 +17,7 @@ from hscommon.build import (
|
|||||||
fix_qt_resource_file,
|
fix_qt_resource_file,
|
||||||
)
|
)
|
||||||
from hscommon import loc
|
from hscommon import loc
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
@@ -118,7 +118,7 @@ def build_normpo():
|
|||||||
def build_pe_modules():
|
def build_pe_modules():
|
||||||
print("Building PE Modules")
|
print("Building PE Modules")
|
||||||
# Leverage setup.py to build 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():
|
def build_normal():
|
||||||
|
|||||||
Reference in New Issue
Block a user