-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (40 loc) · 1011 Bytes
/
pyproject.toml
File metadata and controls
50 lines (40 loc) · 1011 Bytes
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
[project]
name = "solarbatteryield"
version = "2.3.0"
description = "SolarBatterYield- Analyze PV systems with battery storage"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
"streamlit>=1.45",
"numpy>=1.24",
"pandas>=2.0",
"requests>=2.28",
"altair>=5.0",
"holidays>=0.40",
]
[project.optional-dependencies]
# AWS DynamoDB persistence for short URLs
dynamodb = [
"boto3>=1.28",
]
[dependency-groups]
dev = [
"h5py>=3.16.0",
"pytest>=8.0",
"pytest-timeout>=2.0",
"syrupy>=4.0",
"moto[dynamodb]>=5.0", # AWS mocking for tests
]
[project.scripts]
solarbatteryield = "solarbatteryield.streamlit_app:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/solarbatteryield"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short --ignore=tests/test_smoke.py"