Skip to content

site_data_dir returns a path for the Ubuntu OS. #395

@Skippy-the-bush-kangaroo

Description

Hi there,

Unless I'm missing something, I think I should be expecting another basedir then I'm currently getting from my call here:

print("base_dir: ", site_data_dir(appname="TEST", appauthor="company"))

base_dir:  /usr/share/ubuntu/TEST

I was expecting

/usr/share/company/TEST

I'm I correct in expecting another output? I can't find anything in the documentation.

OS : Ubuntu 20.04.5 LTS
Python: Python 3.14.0

Edit: what's even more curious: I've used site_data_dir in 2 separate applications and they both return a different path for it.

/usr/share/ubuntu/ and /usr/local/share for the other...

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