8000
Skip to content

Ren'PyPath: Integrate PurePath-like behavior into renpy #6898

@brunoais

Description

@brunoais

Since python 3.12 (current renpy version), PosixPath from pathlib is officially subclassible, I see Ren'Py has got a RenpyPath in the meantime: (https://github.com/renpy/renpy/blame/master/renpy/importer.py#L44).

I'd like to implement something more similar to RenpyPath I implemented in the past that can be found here: https://gitlab.com/brunoais/renpy-RenpyPath/-/blob/master/renpy_path/renpy_path.py (also made available at https://brunoais.itch.io/renpy-renpypath)

I believe that this library can be of major usefulness to libraries and to do advanced file handling.

I would like to have that but more extensive like how renpy_path.py is.

Would that be accepted to Ren'Py?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0