diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..5932f20 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,12 @@ +# Use official Python dev container image +FROM mcr.microsoft.com/devcontainers/python:3.11 + +# Set working directory +WORKDIR /workspaces + +# Copy requirements +COPY requirements.txt /tmp/requirements.txt + +# Install Python dependencies +RUN pip install --upgrade pip \ + && pip install -r /tmp/requirements.txt diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..ab1cd23 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": "Python Jupyter Codespace", + "build": { + "dockerfile": "Dockerfile", + "context": ".." + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance", + "ms-toolsai.jupyter" + ] + } + }, + "remoteUser": "vscode" +} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index e566831..8ec386a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,6 @@ subsettools>=2.0.1 -hf_hydrodata>=1.3.0 +hf_hydrodata>=1.4.3 matplotlib>=3.7.2 bokeh>=3.3.0 +jupyter +ipykernel