Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace deprecated appdirs with platformdirs fork #72

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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