ayaports/backports/py3-wxpython/no-attrdict.patch

18 lines
510 B
Diff

this is a very abandoned python module, easier to just patch in this
diff --git a/buildtools/config.py b/buildtools/config.py
index 20a2fd9d..fa16befd 100644
--- a/buildtools/config.py
+++ b/buildtools/config.py
@@ -27,7 +27,11 @@ from distutils.dep_util import newer
import distutils.sysconfig
-from attrdict import AttrDict
+class AttrDict(dict):
+ def __getattr__(self, attr):
+ return self[attr]
+ def __setattr__(self, attr, value):
+ self[attr] = value
runSilently = False