Hi David, On 23 September 2018 at 23:34, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote: > On Fri, Sep 14, 2018 at 06:41:06AM +0200, Simon Glass wrote: >> Hi David, >> >> On 13 September 2018 at 13:06, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote: >> > On Thu, Sep 13, 2018 at 09:41:32AM +0200, Simon Glass wrote: >> >> Hi David, >> >> >> >> On 10 September 2018 at 06:59, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote: >> >> > There are a bunch of uglinesses in the way we currently build the >> >> > pylibfdt extension model. A lot of these stem from the fact that it >> >> > isn't terribly easy to make Python's distutils / setuptools play nice >> >> > with dtc's makefiles. >> >> > >> >> > In particular these limitations make it difficult to build and test >> >> > for both Python2 and Python3, which we want to do in future. >> >> > >> >> > These patches address at least some of the problems, though there are >> >> > more to be addressed. >> >> > >> >> > Simon, I'd love to get your review of these, then I'll merge to >> >> > master. >> >> > >> >> >> >> Can you please point me to a tree with these? I'd like to try them >> >> in gentoo. >> > >> > They're in the 'python3' branch on my github tree at: >> > >> > git://github.com/dgibson/dtc.git >> >> OK thanks for doing that. I'll give it a test when I am back next >> week. > > Had any chance to look at these yet? Yes but I got stuck debugging a few failures. I got far enough to figure out that it should be easy to get this running with the ebuild, and the failures are in a dependent library, so let's go ahead. I'll get back to this at some point and send a patch if needed. Regards, Simon