Skip to content

Commit

Permalink
Replace unmaintained appdirs with maintained platformdirs
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and lipoja committed Nov 9, 2021
1 parent 8a1dd31 commit 2692666
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
idna
uritools
pytest
appdirs
platformdirs
bump2version
filelock
dnspython
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def read(readme):
install_requires=[
'idna',
'uritools',
'appdirs',
'platformdirs',
'filelock'
],
)
2 changes: 1 addition & 1 deletion urlextract/cachefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import idna
import filelock
from appdirs import user_cache_dir
from platformdirs import user_cache_dir


class CacheFileError(Exception):
Expand Down

0 comments on commit 2692666

Please sign in to comment.