Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCons: Fix import clash between Godot and system modules #25764

Merged
merged 1 commit into from
Feb 10, 2019

Conversation

akien-mga
Copy link
Member

See #24965 for details. sys.path.insert is hacky, but should work
relatively well for both Python 2 and Python 3. When we eventually
deprecate Python 2 support, we could look into using importlib.

Fixes #24965.

Thanks @touilleMan for the help.

See godotengine#24965 for details. `sys.path.insert` is hacky, but should work
relatively well for both Python 2 and Python 3. When we eventually
deprecate Python 2 support, we could look into using importlib.

Fixes godotengine#24965.
@akien-mga akien-mga added this to the 3.1 milestone Feb 10, 2019
@akien-mga akien-mga merged commit 17809ca into godotengine:master Feb 10, 2019
@akien-mga akien-mga deleted the scons-relative-import branch February 10, 2019 14:39
@akien-mga
Copy link
Member Author

Cherry-picked for 3.0.7.

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

Successfully merging this pull request may close these issues.

None yet

1 participant