diff --git a/README.rst b/README.rst index 46133c9..824956c 100644 --- a/README.rst +++ b/README.rst @@ -52,14 +52,14 @@ Requirements - IDNA for converting links to IDNA format - uritools for domain name validation -- appdirs for determining user's cache directory +- platformdirs for determining user's cache directory - dnspython to cache DNS results :: pip install idna pip install uritools - pip install appdirs + pip install platformdirs pip install dnspython Example diff --git a/requirements.txt b/requirements.txt index d9d1652..8ba2f4d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ idna uritools pytest -appdirs +platformdirs bump2version filelock dnspython diff --git a/setup.py b/setup.py index c2c3bd7..615e924 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ def read(readme): install_requires=[ 'idna', 'uritools', - 'appdirs', + 'platformdirs', 'filelock' ], ) diff --git a/urlextract/cachefile.py b/urlextract/cachefile.py index d8449e1..1d89842 100644 --- a/urlextract/cachefile.py +++ b/urlextract/cachefile.py @@ -17,7 +17,7 @@ import idna import filelock -from appdirs import user_cache_dir +from platformdirs import user_cache_dir class CacheFileError(Exception):