mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Add backports.shutil_which
This commit is contained in:
6
build.py
6
build.py
@@ -32,6 +32,12 @@ try:
|
||||
except ImportError:
|
||||
import pathlib2 as pathlib
|
||||
|
||||
try:
|
||||
from shutil import which
|
||||
except ImportError:
|
||||
from backports.shutil_which import which
|
||||
|
||||
|
||||
from distutils.dep_util import newer, newer_group
|
||||
from buildtools.config import Config, msg, opj, posixjoin, loadETG, etg2sip, findCmd, \
|
||||
phoenixDir, wxDir, copyIfNewer, copyFile, \
|
||||
|
||||
@@ -10,3 +10,4 @@ pytest
|
||||
pytest-xdist
|
||||
pytest-timeout
|
||||
pathlib2 ; python_version < "3"
|
||||
backports.shutil_which ; python_version < "3"
|
||||
|
||||
Reference in New Issue
Block a user