BSD Ports

devel/py-appdirs 1.4.4_1 DragonFly

Python module for determining platform-specific dirs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
14.6 KiB, 93.7 KiB installed

Description

appdirs is small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir". Those are typically platform-specific, for instance, if running on Mac OS X, you should use:

~/Library/Application Support/<AppName>

On Linux (and other Unices) the dir, according to the XDG spec, is:

~/.local/share/<AppName>

appdirs will help the application to choose an appropriate:

  • user data dir (user_data_dir)
  • user config dir (user_config_dir)
  • user cache dir (user_cache_dir)
  • site data dir (site_data_dir)
  • site config dir (site_config_dir)
  • user log dir (user_log_dir)

In the other systems

SystemPortVersion
DragonFlydevel/py-appdirs1.4.4_1
FreeBSDdevel/py-appdirs1.4.4_1
OpenBSDdevel/py-appdirs1.4.4p6
NetBSDdevel/py-appdirs1.4.4nb2
MidnightBSDdevel/py-appdirs1.4.4_2
HardenedBSDdevel/py-appdirs1.4.4_1
GhostBSDdevel/py-appdirs1.4.4_1

Install

Binary package:

pkg install py311-appdirs

From DPorts:

cd /usr/dports/devel/py-appdirs && make install clean

Dependencies

Run dependencies 1