vslavik / bakefile

Bakefile makefiles generator
http://bakefile.org
MIT License
142 stars 20 forks source link

Python 3 support #109

Closed swt2c closed 6 years ago

swt2c commented 6 years ago

I hate to ask as I'm not volunteering to do it :-) but Linux distributions are starting to talk seriously about retiring Python 2. I would mostly be interested in the legacy branch as that's still what wx uses.

vslavik commented 6 years ago

I have no plans to do that; especially not on the legacy branch (as its name very strongly suggests). Happy to merge patches, though.

vadz commented 6 years ago

We need to migrate wx build system to something else, we can't stay with legacy bakefile forever. As thing stand, I'm afraid we might end going back to dark ages and updating the different (luckily, much less numerous now...) make/project files manually as almost nothing is capable of generating Xcode projects anyhow. Or we can just give up to CMake :-(

In any case, I think that spending any effort on Python 3 support for the legacy branch is not worth it.

Apteryks commented 1 year ago

Has someone given it a try yet? Being stuck on Python 2 means not being shipped in distributions such as GNU Guix and Debian, per policy.

vadz commented 1 year ago

Hi @Apteryks, this project has been more or less abandoned, unfortunately, so I'm afraid the only way to move forward with it would be to try doing it yourself. FWIW I don't think switching to Python 3 is trivial (i.e. I remember trying to do it many years ago and running into many problems), but it should be doable, of course, with enough motivation, and this would definitely be very welcome if we want to keep bakefile at all usable in the future.

swt2c commented 1 year ago

I also gave it a try a few years ago and gave up after determining that it wasn't worth the effort. If I recall correctly, the biggest challenge was related to the C code that does string handling - one of the major changes between Python 2 and 3.