Skip to content

Altered SCons build scripts to work with Python 3.#75

Merged
zeromus merged 1 commit into
TASEmulators:masterfrom
hexregex:master
Sep 11, 2019
Merged

Altered SCons build scripts to work with Python 3.#75
zeromus merged 1 commit into
TASEmulators:masterfrom
hexregex:master

Conversation

@hexregex

Copy link
Copy Markdown

I haven't added the following to the top of these scripts:

from __future__ import print_function

I believe this would allow Python 2 to run these scripts (I'm not certain and I haven't tested). Is backwards compatibility wanted moving forward?

@hexregex hexregex marked this pull request as ready for review September 11, 2019 01:34
@zeromus

zeromus commented Sep 11, 2019

Copy link
Copy Markdown
Contributor

backwards compatibility is not very important. there are many reasons to still prefer python2 over python3 as a developer, but there's no reason not to tell people they must install python3.

@zeromus zeromus merged commit 00beb14 into TASEmulators:master Sep 11, 2019
@iMichka

iMichka commented Mar 25, 2020

Copy link
Copy Markdown

Hi. Could we get a new release with this change?

I looks like this patch does not properly apply on the latest release.

I am from the Homebrew package manager team and we got rid of Python 2. We would like to make sure we can continue to ship fceux in the future. Thanks!

@zeromus

zeromus commented Mar 25, 2020

Copy link
Copy Markdown
Contributor

This is not a complicated patch. Maybe you need to apply all the patches which affect SConstruct, not just this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants