-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (62 loc) · 1.68 KB
/
pyproject.toml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "open-data-pvnet"
version = "0.1.1" # Static version
readme = { file = "README.md", content-type = "text/markdown" }
description = "An open-source project supporting solar forecasting with PVNet."
license = { text = "MIT" }
authors = [
{ name="Peter Dudfield", email="info@openclimatefix.org" }
]
keywords = ["solar forecasting", "open-source", "renewable energy", "machine learning"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Atmospheric Science",
]
requires-python = ">=3.9"
dependencies = [
"numpy",
"pandas",
"requests",
"xarray",
"zarr",
"ocf-data-sampler",
"ocf_ml_metrics>=0.0.11",
"huggingface-hub",
"pydantic==2.5.3",
]
[project.optional-dependencies]
dev = [
"pvlive-api",
"black",
"ruff",
"pre-commit",
"setuptools",
"wheel",
"twine",
"pytest",
"pytest-cov",
"pytest-mock",
"tomli",
]
[tool.black]
line-length = 100
[tool.ruff]
line-length = 100
exclude = [".ipynb_checkpoints", "tests", "configs.example"]
select = ["E", "F", "W", "C90"]
ignore = ["E501"]
target-version = "py39"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "open_data_pvnet.__version__"}
readme = {file = "README.md", content-type = "text/markdown"}