-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
62 lines (56 loc) · 1.89 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
[build-system]
requires = ["maturin>=0.15,<0.16"]
build-backend = "maturin"
[project]
name = "fastsim"
version = "2.1.3"
authors = [{ name = "NREL/MTES/CIMS/MBAP Group", email = "[email protected]" }]
description = "Tool for modeling vehicle powertrains"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.8,<3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
dependencies = [
"pandas>=1",
"matplotlib>=3.3",
"numpy==1.24",
"scipy",
"seaborn>=0.10",
"typing_extensions",
"pyyaml",
"pytest",
"setuptools<=65.6.3", # suppresses pkg_resources deprecation warning
"openpyxl>=3.1.2",
"plotly==5.18",
]
[project.urls]
Homepage = "https://www.nrel.gov/transportation/fastsim.html"
[project.optional-dependencies]
dev = ["black", "maturin", "plotly", "ipykernel", "pymoo==0.6.0.1"]
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = [
"fastsim*",
] # package names should match these glob patterns (["*"] by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.maturin]
python-source = "python"
features = ["pyo3/extension-module"]
module-name = "fastsim.fastsimrust"
manifest-path = "rust/fastsim-py/Cargo.toml"
include = [
{ format = "sdist", path = "rust/fastsim-core/Cargo.toml" },
{ format = "sdist", path = "rust/fastsim-core/src/*" },
{ format = "sdist", path = "rust/fastsim-core/proc-macros/Cargo.toml" },
{ format = "sdist", path = "rust/fastsim-core/proc-macros/src/*" },
{ format = "sdist", path = "rust/fastsim-py/Cargo.toml" },
{ format = "sdist", path = "rust/fastsim-py/src/*" },
]