Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 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
13 changes: 11 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ classifiers = [
]

dependencies = [
"numpy",
"xarray",
"pandas",
"plotly",
"matplotlib",
"ruamel.yaml",
"pyarrow"
"pyarrow",
]

[build-system]
Expand All @@ -38,21 +40,28 @@ Homepage = "https://github.com/ACCESS-NRI/esmf-trace"

[project.optional-dependencies]
devel = [
"ruff",
Comment thread
manodeep marked this conversation as resolved.
"pre-commit",
]

test = [
"pytest",
"pytest-cov",
]

# Not required for the package but useful for users running notebooks
interactive = [
"jupyter",
"ipykernel",
]

[tool.pytest.ini_options]
addopts = [
"--cov=esmf_trace",
"--cov-report=term",
"--cov-report=html",
"--cov-report=xml"
]

testpaths = ["tests"]

[tool.coverage.run]
Expand Down
15 changes: 15 additions & 0 deletions requirements-access.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Workspace environment for ACCESS profiling and scaling workflows.
#
# This file installs multiple ACCESS repos into a single virtual
# environment for convenient imports and interactive development.
#
# It is not intended to represent the runtime requirements of any single
# repo. Instead, it defines a curated workspace environment that
# allows multiple tools to be used together.

git+https://github.com/ACCESS-NRI/access-experiment-generator.git@main
git+https://github.com/ACCESS-NRI/access-experiment-runner.git@main

# Feature branches required for profiling work (not yet merged)
-e git+https://github.com/ACCESS-NRI/access-profiling.git@47-om3-profiling_temporary#egg=access-profiling
-e git+https://github.com/ACCESS-NRI/access-config-utils.git@32-accessom3-layout#egg=access-config-utils
6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

12 changes: 10 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@
set -euo pipefail

# Gadi setup for esmf-trace
module load python3/3.11.7
module use /g/data/vk83/modules
module load model-tools/babeltrace2/2.1.2

# Create venv and install
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

pip install --upgrade pip setuptools wheel

# Install the package in editable mode for development
pip install -e .

# Install the interactive tooling for the notebooks
pip install -e ".[interactive]"

# Workspace bundle: install other ACCESS repos into the same venv for workflow convenience
pip install -r requirements-access.txt