forked from NREL/routee-compass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (46 loc) · 1.57 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
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "nrel.routee.compass"
version = "0.7.0"
description = "An eco-routing tool build upon RouteE-Powertrain"
readme = "README.md"
documentation = "nrel.github.io/routee-compass"
requires-python = ">=3.9"
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",
]
keywords = ["eco routing"]
dependencies = ["toml"]
[project.optional-dependencies]
dev = ["pytest", "maturin", "jupyter-book", "ruff", "sphinx-book-theme"]
osm = ["osmnx", "geopandas", "shapely", "networkx", "folium", "pandas", "numpy"]
all = [
"nrel.routee.compass[osm]",
"nrel.routee.compass[dev]",
]
[project.urls]
Homepage = "https://github.com/NREL/routee-compass"
[tool.maturin]
python-source = "python"
features = ["pyo3/extension-module"]
module-name = "nrel.routee.compass.routee_compass_py"
manifest-path = "rust/routee-compass-py/Cargo.toml"
include = [
"python/nrel/routee/compass/resources/models/*.bin",
"python/nrel/routee/compass/resources/*.toml",
]
exclude = ["rust/routee-compass-powertrain/onnxruntime/**"]
[tool.mypy]
ignore_missing_imports = true
namespace_packages = true
explicit_package_bases = true
exclude = ["docs/", "build/", "dist/"]