-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (37 loc) · 939 Bytes
/
pyproject.toml
File metadata and controls
44 lines (37 loc) · 939 Bytes
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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "microgrid"
version = "0.1.0"
description = "Python front-end for AMPL-based microgrid MILP sweeps and Excel post-processing."
authors = [
{ name = "Michael Caballero" }
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"amplpy>=0.13",
"pandas>=2.0",
"numpy>=1.24",
"openpyxl>=3.1",
"tqdm>=4.66",
# API / web server
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
"python-multipart>=0.0.9",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"black>=24.0",
"isort>=5.13",
]
[project.scripts]
microgrid-single-run = "microgrid.scripts.run_single_loop:main"
microgrid-sweep-run = "microgrid.scripts.run_sweep:main"
microgrid-launch-files = "microgrid.scripts.parallel_sweep:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]