mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Only require attrdict3 on Windows
It's only used on Windows, so only require it there.
This commit is contained in:
@@ -27,8 +27,6 @@ from distutils.dep_util import newer
|
|||||||
|
|
||||||
import distutils.sysconfig
|
import distutils.sysconfig
|
||||||
|
|
||||||
from attrdict import AttrDict
|
|
||||||
|
|
||||||
runSilently = False
|
runSilently = False
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
@@ -992,6 +990,8 @@ def getMSVCInfo(PYTHON, arch, set_env=False):
|
|||||||
if MSVCinfo is not None:
|
if MSVCinfo is not None:
|
||||||
return MSVCinfo
|
return MSVCinfo
|
||||||
|
|
||||||
|
from attrdict import AttrDict
|
||||||
|
|
||||||
# Note that it starts with a monkey-patch in setuptools.msvc to
|
# Note that it starts with a monkey-patch in setuptools.msvc to
|
||||||
# workaround this issue: pypa/setuptools#1902
|
# workaround this issue: pypa/setuptools#1902
|
||||||
cmd = \
|
cmd = \
|
||||||
|
|||||||
@@ -21,4 +21,4 @@ Jinja2==2.10
|
|||||||
markupsafe==1.1.1
|
markupsafe==1.1.1
|
||||||
doc2dash==2.3.0
|
doc2dash==2.3.0
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
attrdict3
|
attrdict3 ; sys_platform == 'win32'
|
||||||
|
|||||||
Reference in New Issue
Block a user