-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (44 loc) · 1.09 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (44 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[project]
name = "pypsa-bc"
version = "0.2.0"
description = "PyPSA-BC: British Columbia power-system model (data prep + network build)."
authors = [{ name = "Md Eliasinul Islam" }]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"pypsa>=0.28",
"atlite>=0.2.12",
"geopandas>=0.14",
"pandas>=2.0",
"numpy>=1.26",
"xarray>=2024.1",
"dask>=2024.1",
"scipy>=1.11",
"shapely>=2.0",
"pyyaml>=6.0",
"requests>=2.31",
"matplotlib>=3.8",
"plotly>=5.18",
"pypdf>=5.0",
"openpyxl>=3.1",
"xlrd>=2.0.1",
"tqdm>=4.66",
"colorama>=0.4.6",
"snakemake>=9.24.0",
"networkx>=3.2",
]
[project.optional-dependencies]
dev = ["pytest>=8.0", "ruff>=0.5"]
workflow = ["snakemake>=9.0,<10"]
# uv recognises this as the project root. `uv sync` builds the env,
# `uv run python -m workflow.run_pypsa_bc` runs the pipeline.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/pypsa_bc"]
[tool.uv]
package = true
[tool.ruff]
line-length = 100
src = ["src", "workflow"]