-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
68 lines (61 loc) · 1.82 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
[build-system]
requires = ["setuptools>=63.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nrel.routee.powertrain"
version = "1.1.1"
description = "RouteE-Powertrain is a tool for predicting energy usage over a set of road links."
readme = "README.md"
authors = [{ name = "National Renewable Energy Laboratory" }]
license = { text = "BSD 3-Clause License Copyright (c) 2023, Alliance for Sustainable Energy, LLC" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
dependencies = ["pandas", "numpy", "onnx", "onnxruntime==1.18.1"]
requires-python = ">=3.8"
[project.optional-dependencies]
scikit = ["scikit-learn", "skl2onnx"]
ngboost = ["ngboost"]
plot = ["matplotlib"]
dev = [
"nrel.routee.powertrain[scikit]",
"nrel.routee.powertrain[plot]",
"nrel.routee.powertrain[ngboost]",
"tqdm",
"pytest",
"black",
"mypy",
"maturin",
"ruff",
"shapely",
"boxsdk",
"jupyter-book",
"sphinx-book-theme",
"types-PyYAML",
"types-protobuf",
"types-python-dateutil",
"types-redis",
"types-requests",
"pandas-stubs",
]
[project.urls]
Homepage = "https://github.com/NREL/routee-powertrain"
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = [
"nrel*",
] # package names should match these glob patterns (["*"] by default)
[tool.setuptools.package-data]
"nrel.routee.powertrain" = ["py.typed"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
ignore_missing_imports = true
namespace_packages = true
explicit_package_bases = true
exclude = ["docs/", "build/", "dist/"]