Skip to content

Commit 95caaba

Browse files
committed
build: Use platformdirs instead of deprecated appdirs
1 parent bca6e3f commit 95caaba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ classifiers = [
2727
"Typing :: Typed",
2828
]
2929
dependencies = [
30-
"appdirs>=1.4",
3130
"loguru>=0.5",
31+
"platformdirs>=4.2",
3232
"requests>=2.19",
3333
"tomli>=2.0; python_version < '3.11'",
3434
"websocket-client>=0.58",

src/aria2p/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from pathlib import Path
1313
from typing import TYPE_CHECKING, Any
1414

15-
from appdirs import user_config_dir
1615
from loguru import logger
16+
from platformdirs import user_config_dir
1717

1818
if TYPE_CHECKING:
1919
from datetime import timedelta

0 commit comments

Comments
 (0)