Skip to content

Commit

Permalink
Set CONDA_STORE_DIR to platformdirs.user_data_path
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaretnikov committed Mar 16, 2024
1 parent fe6b45a commit e84577a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conda-store-server/conda_store_server/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import datetime
import typing
from pathlib import Path

import platformdirs

__version__ = "2024.3.1"


CONDA_STORE_DIR = Path.home() / ".conda-store"
CONDA_STORE_DIR = platformdirs.user_data_path(appname="conda-store")


class BuildKey:
Expand Down
1 change: 1 addition & 0 deletions conda-store-server/environment-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dependencies:
- jinja2
- python-multipart
- alembic
- platformdirs
# artifact storage
- minio
# installer
Expand Down
1 change: 1 addition & 0 deletions conda-store-server/environment-macos-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dependencies:
- jinja2
- python-multipart
- alembic
- platformdirs
# artifact storage
- minio
# installer
Expand Down
1 change: 1 addition & 0 deletions conda-store-server/environment-windows-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dependencies:
- jinja2
- python-multipart
- alembic
- platformdirs
# artifact storage
- minio
# installer
Expand Down
1 change: 1 addition & 0 deletions conda-store-server/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies:
- redis-py
- sqlalchemy<=1.4.47
- alembic
- platformdirs
- psycopg2
- pymysql
- requests
Expand Down

0 comments on commit e84577a

Please sign in to comment.