Skip to content

multipath cannot work for path #259

Open
@Freed-Wu

Description

@Freed-Wu
export XDG_DATA_DIRS=/usr/share:/usr/local/share
❯ ptpython
In [1]: from platformdirs import site_data_path
In [2]: site_data_path(multipath=True)
PosixPath('/usr/share')

Why not

In [2]: site_data_path(multipath=True)
[PosixPath('/usr/share'), PosixPath('/usr/local/share')]

Related issue: NixOS/nixpkgs#282076

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions