File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Change Log
4
4
Unreleased
5
5
----------
6
6
7
+ - Switch from ``appdirs `` to the replacement ``platformdirs ``.
8
+
7
9
1.4.1 (2021/09/10)
8
10
------------------
9
11
Original file line number Diff line number Diff line change 4
4
from copy import copy
5
5
from pathlib import Path
6
6
7
- from appdirs import user_cache_dir
8
7
from docutils .parsers .rst .states import ParserError
9
8
from docutils .utils import roman
9
+ from platformdirs import user_cache_path
10
10
11
11
from .const import __version__
12
12
13
13
14
14
class FileCache :
15
15
def __init__ (self , context ):
16
- self .cache_dir = Path ( user_cache_dir ( "docstrfmt" , version = __version__ ) )
16
+ self .cache_dir = user_cache_path ( "docstrfmt" , version = __version__ )
17
17
self .context = context
18
18
self .cache = self .read_cache ()
19
19
Original file line number Diff line number Diff line change 49
49
},
50
50
extras_require = extras_requires ,
51
51
install_requires = [
52
- "appdirs" ,
53
52
"black>=19.10b0" ,
54
53
"click<8.0.0" ,
55
54
"docutils" ,
56
55
"libcst" ,
56
+ "platformdirs" ,
57
57
"sphinx>=2.4.0" ,
58
58
"tabulate" ,
59
59
"toml" ,
You can’t perform that action at this time.
0 commit comments