-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
156 lines (137 loc) · 3.6 KB
/
pyproject.toml
File metadata and controls
156 lines (137 loc) · 3.6 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[build-system]
requires = [
"setuptools >= 61",
"setuptools_scm[toml] >= 8",
]
build-backend = 'setuptools.build_meta'
[project]
name = "NREL-SitingLab"
dynamic = ["version"]
description = "National Renewable Energy Laboratory's (NREL's) Siting Lab Jupyter Notebook tutorials"
readme = "README.md"
authors = [
{name = "Paul Pinchuk", email = "Pavlo.Pinchuk@nrel.gov"},
{name = "Anthony Lopez", email = "Anthony.Lopez@nrel.gov"},
{name = "Travis Williams", email = "Travis.Williams@nrel.gov"},
{name = "Victor Igwe", email = "Victor.Igwe@nrel.gov"},
]
maintainers = [
{name = "Paul Pinchuk", email = "Pavlo.Pinchuk@nrel.gov"},
]
license = {text = "BSD-3-Clause"}
keywords = ["NREL", "Siting Lab", "reV", "reVX", "rex", "Supply Curve", "Land-based Wind", "Offshore Wind", " Utility-scale PV"]
requires-python = ">= 3.10"
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Documentation",
]
dependencies = [
"h5py>=3.11.0",
"jupyter>=1.0.0",
"jupyterlab>=4.0",
"NREL-rex>=0.2.85",
"NREL-reV>=0.9.4",
"NREL-reVX>=0.3.60",
"matplotlib>=3.9.0",
"numpy~=1.24.4",
"plotly>=5.24.1",
"pyproj>=3.6.1",
]
[project.optional-dependencies]
dev = [
"build>=0.6.0",
"ruff>=0.4.0",
]
doc = [
"make>=0.1",
"jupyter-book>=1.0.2",
]
test = [
"pytest>=8.0.0",
"pytest-cov>=5.0.0",
"pytest-xdist>=3.5.0",
]
[project.urls]
Homepage = "https://data.openei.org/siting_lab"
Documentation = "https://nrel.github.io/SitingLab/"
Repository = "https://github.com/NREL/SitingLab"
[tool.ruff]
line-length = 79
extend-include = ["*.ipynb"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
preview = true
select = [
"A", # flake8-builtins
"ARG", # flake8-unused-arguments
"COM", # flake8-commas
# "D", # pydocstyle
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"NPY", # numpy-specific
"Q", # flake8-quotes
"UP", # pyupgrade
"W", # Warning
]
ignore = [
"I001", # unsorted-imports
"UP009", # utf8-encoding-declaration
"COM812", # missing-trailing-comma (incompatible with formatter)
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.setuptools]
packages = []
[tool.setuptools_scm]
version_file = "_version.py"
[tool.pixi.project]
channels = ["conda-forge", "anaconda", "main"]
platforms = ["osx-arm64", "linux-64"]
[tool.pixi.system-requirements]
linux = "4.18"
[tool.pixi.pypi-dependencies]
NREL-SitingLab = { path = ".", editable = true }
NREL-rex = ">=0.2.85"
NREL-reV = ">=0.9.4"
NREL-reVX = ">=0.3.60"
[tool.pixi.environments]
default = { solve-group = "default" }
dev = { features = ["dev", "doc", "test"], solve-group = "default" }
doc = { features = ["doc"], solve-group = "default" }
test = { features = ["test"], solve-group = "default" }
[tool.pixi.tasks]
build = { cmd = "make book", cwd = "docs"}
[tool.pixi.dependencies]
python = ">=3.10"
h5py = ">=3.11.0"
jupyter = ">=1.0.0"
jupyterlab = ">=4.0"
matplotlib = ">=3.9.0"
numpy= "~=1.24.4"
plotly = ">=5.24.1"
pyproj = ">=3.6.1"
rtree = ">=1.3.0"
[tool.pixi.feature.dev.dependencies]
build = ">=0.5"
ruff = ">=0.2"
[tool.pixi.feature.test.dependencies]
pytest = ">=7.0"
pytest-cov = ">=3.0"
pytest-xdist = ">=3.0"
[tool.pixi.feature.doc.dependencies]
jupyter-book = ">=1.0.2"
make = ">=0.1"