Skip to content

Conversation

@deathaxe
Copy link
Member

Fixes #176

This commit replaces _file_relative_to which uses some private pathlib internals, by a normal path.relative_to() lookup to convert file paths to resource paths. This is expected to work on all platforms (py33 ... py313) the same way.

This commit replaces `_file_relative_to` which uses some private pathlib
internals, by  a normal `path.relative_to()` lookup to convert file paths
to resource paths. This is expected to work on all platforms (py33 ... py313)
the same way.
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.

AttributeError: 'PosixPath' object has no attribute '_flavour'

2 participants