Skip to content

Commit

Permalink
Replace appdirs by platformdirs
Browse files Browse the repository at this point in the history
Fixes #62.
  • Loading branch information
bittremieux committed Apr 16, 2024
1 parent 9bcc3f0 commit cc4f19f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ spectrum_utils supports Python version 3.8 and above.

spectrum_utils has the following third-party dependencies:

- [appdirs](https://github.com/ActiveState/appdirs)
- [fastobo](https://fastobo.readthedocs.io/)
- [Lark](https://lark-parser.readthedocs.io/)
- [Matplotlib](https://matplotlib.org/)
- [Numba](http://numba.pydata.org/)
- [NumPy](https://www.numpy.org/)
- [Pandas](https://pandas.pydata.org/)
- [platformdirs](https://github.com/platformdirs/platformdirs)
- [Pyteomics](https://pyteomics.readthedocs.io/)
- [Vega-Altair](https://altair-viz.github.io/)

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ channels:
- conda-forge
dependencies:
- altair
- appdirs
- fastobo
- lark>=1.0
- matplotlib
- numba>=0.57
- numpy
- pandas
- platformdirs
- pyteomics>=4.5
- python>=3.8
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ packages = find:
include_package_data = True
python_requires = >=3.8
install_requires =
appdirs
fastobo
lark>=1.0
matplotlib>=3.5
numba>=0.57
numpy
platformdirs
pyteomics>=4.5

[options.extras_require]
Expand Down
4 changes: 2 additions & 2 deletions spectrum_utils/proforma.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
)
from urllib.error import URLError

import appdirs
import platformdirs
import fastobo
import lark

Expand All @@ -35,7 +35,7 @@


# Set to None to disable caching.
cache_dir = appdirs.user_cache_dir("spectrum_utils", False)
cache_dir = platformdirs.user_cache_dir("spectrum_utils", False)


# noinspection PyArgumentList
Expand Down

0 comments on commit cc4f19f

Please sign in to comment.