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 appdirs by platformdirs #65

Merged
merged 2 commits into from
Apr 16, 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
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:

- name: Lint with black
uses: psf/black@stable
with:
options: "--check --diff --line-length 79"
with:
options: "--check --diff --line-length 79"

- name: Check for debugging print statements
run: |
Expand Down
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
Loading