Skip to content

Commit

Permalink
replace deprecated appdirs with platformdirs fork
Browse files Browse the repository at this point in the history
  • Loading branch information
a-detiste committed Sep 22, 2024
1 parent 88b6835 commit 7dfbe8d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Use `cli.save_config()` to save the user's configuration file. It will be writte

# Configuration File Location

MILC uses [appdirs](https://github.com/ActiveState/appdirs) to determine the configuration file location. You can set your application's name and author by using `milc.set_metadata`:
MILC uses [platformdirs](https://github.com/tox-dev/platformdirs) to determine the configuration file location. You can set your application's name and author by using `milc.set_metadata`:

```python
from milc import set_metadata
Expand Down
2 changes: 1 addition & 1 deletion milc/milc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

import argcomplete
import colorama
from appdirs import user_config_dir
from halo import Halo # type: ignore
from platformdirs import user_config_dir
from spinners.spinners import Spinners # type: ignore

from .ansi import MILCFormatter, ansi_colors, ansi_config, ansi_escape, format_ansi
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ mkdocs-material<9
mypy
nose2
pygments
types-appdirs
semver
yapf
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
],
python_requires='>=3.7',
install_requires=[
"appdirs",
"argcomplete",
"colorama",
"halo",
"platformdirs",
"spinners",
"types-colorama",
],
Expand Down

0 comments on commit 7dfbe8d

Please sign in to comment.