stager13 / ngplant

GNU General Public License v2.0
56 stars 13 forks source link

Convert scons scripts to Python 3. #4

Open alysbrooks opened 2 years ago

alysbrooks commented 2 years ago

Currently the build files use Python 2, which is not supported by recent versions of Scons (nor is the interpreter itself supported). I ran 2to3 on the Scons build files, and I manually replaced file with open. After these changes, it built successfully on Ubuntu 21.04.

Running the tools seemed to work, too. I did have some WxWidgets errors regarding a invalid DC that didn't seem to interfere with the running of the program and seem unrelated.

alysbrooks commented 2 years ago

Oh, it looks like #3 does this in addition to the other compatibility changes. I'm leaving this open just in case you want to merge this before you get around to merging the compatibility branch, but feel free to close this!