Skip to content

Conversation

@simon-graham
Copy link

Upstream cefpython still doesn't support Python 3.8. However there is an open PR for it: cztomczak#546. I've incorporated bits of that here, plus a few more additions.

setattr(Options, key2, value)

Options.tools_dir = os.path.dirname(os.path.realpath(__file__))
Options.tools_dir = os.path.dirname(os.path.abspath(__file__))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The behaviour of realpath on Windows changed in Python 3.8. When building on a subst-ed drive, it works out the real path on the original drive and folder. This was breaking our subst-ed build_scripts build. Changing to abspath resolves the issue.

@ThomasMatern ThomasMatern merged commit bc73903 into ThomasMatern:master Dec 11, 2020
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.

2 participants