./misc/py-platformdirs, Python module for determining appropriate platform-specific dirs

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 4.12.2, Package name: py313-platformdirs-4.12.2, Maintainer: pkgsrc-users

When writing desktop application, finding the right location to store user data
and configuration varies per platform. Even for single-platform apps, there
may by plenty of nuances in figuring out the right location. This kind of thing
is what the platformdirs module is for.


Master sites:

Filesize: 57.962 KB

Version history: (Expand)


CVS history: (Expand)


   2026-10-03 11:01:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: updated to 4.12.2

4.12.2

fix(api): build site paths from site lists
refactor(api): share use_site iteration
   2026-09-28 17:51:48 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-platformdirs: update to 4.12.1.

4.12.1

fix(pytest): allow import before pytest startup by @gaborbernat in #602

4.12.0

What's Changed

    📝 docs(unix): fix site_applications_dir default by @gaborbernat in #594
    📝 docs(unix): describe the runtime dir fallback by @gaborbernat in #595
    📝 docs(android): describe detection and folders by @gaborbernat in #596
    📝 docs(windows): narrow MSIX AppData redirection by @gaborbernat in #597
    📝 docs(windows): show how to load a user font by @gaborbernat in #598
    📝 docs(windows): list COMMON_PROGRAMS override by @gaborbernat in #593
    📝 docs(macos): note XDG_*_DIR for media dirs by @gaborbernat in #592
    📝 docs(macos): fix the Homebrew site dir note by @gaborbernat in #591
    🐛 fix(ios): use the iOS app container instead of Linux XDG paths by \ 
@gaborbernat in #600
    ✨ feat(api): add place_*_file methods that create parents as 0700 by \ 
@gaborbernat in #585
    ✨ feat(testing): redirect every directory under a test root by \ 
@gaborbernat in #590
    🐛 fix(windows): resolve templates, public and bin dirs by known folder by \ 
@gaborbernat in #587
    ✨ feat(api): add find_*_file methods for user and site lookup by \ 
@gaborbernat in #586
    🐛 fix(dirs): create user directories with mode 0700 by @gaborbernat in #588
    🐛 fix(dirs): raise when no home directory resolves by @gaborbernat in #589
    🐛 fix(unix): validate XDG_RUNTIME_DIR and warn on fallback by \ 
@gaborbernat in #599
   2026-09-22 15:05:55 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: updated to 4.11.12

4.11.12

docs: preserve nested directories in the migration recipe
fix: ignore broken sphinx-llm release
fix: ignore relative XDG user directory environment variables
   2026-09-10 09:18:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: updated to 4.11.8

4.11.8
fix: ignore relative XDG base directory paths
fix: return one user path for root under multipath
fix: preserve literal percent signs in user-dirs paths
fix: retain Homebrew site directories inside virtual environments
   2026-09-02 12:15:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: updated to 4.11.7

4.11.7 (2026-09-01)

4.11.6 (2026-09-01)

Give :func:`~platformdirs.user_bin_dir` and :func:`~platformdirs.user_bin_path` \ 
the use_site_for_root argument. They took none, so neither could reach the Unix \ 
redirect of root to :func:`~platformdirs.site_bin_dir`. :pr:`537`
   2026-08-30 17:35:02 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: update to 4.11.5.

What's Changed

    docs: fix the iterator order claim in api.rst by @gaborbernat in #533
    fix: return one site applications path for multipath by @tunglambk in #532
    fix: accept app arguments in the applications functions by @gaborbernat in #534
    refactor: keyword-only booleans on the applications functions by \ 
@gaborbernat in #535
    fix: accept app arguments in user_preference_dir by @dylanpulver in #531
   2026-08-27 06:52:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: updated to 4.11.4

4.11.4

chore: batch dependency updates weekly on Tuesday
fix: stop iter_*_dirs yielding the same directory twice
docs: fix merge order in the config how-to
   2026-08-16 14:54:22 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-platformdirs: update to 4.11.3.

📄 docs: publish llms.txt from the docs build by @gaborbernat in #522
fix: don't crash when an XDG dirs variable holds only separators by @darrenhuai \ 
in #523