Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (70 loc) · 2.84 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (70 loc) · 2.84 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
[project]
name = "tradespace"
version = "0.1.0"
description = "Learns the shape of a design trade space from evaluated designs, with estimators that work in scikit-learn pipelines."
readme = "README.md"
authors = [{ name = "Michael Zargham" }]
requires-python = ">=3.12,<3.13"
license = "MIT"
license-files = ["LICENSE"]
keywords = ["trade space", "posynomial", "geometric programming", "Pareto frontier", "scikit-learn", "systems engineering"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
]
dependencies = [
"numpy>=1.26",
"scipy>=1.12",
"sympy>=1.12",
"scikit-learn>=1.8",
"pandas>=2.0",
"matplotlib>=3.8",
]
[project.urls]
Homepage = "https://dynamicalsystemsgroup.github.io/tradespace/"
Documentation = "https://dynamicalsystemsgroup.github.io/tradespace/docs/"
Repository = "https://github.com/DynamicalSystemsGroup/tradespace"
Issues = "https://github.com/DynamicalSystemsGroup/tradespace/issues"
Changelog = "https://github.com/DynamicalSystemsGroup/tradespace/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"pytest>=8",
"pytest-cov>=5",
"pytest-xdist>=3.8.0",
"ruff>=0.6",
"build>=1.2",
"twine>=5",
]
docs = ["mkdocs-material>=9.5", "mkdocs-jupyter>=0.24", "mkdocstrings[python]>=0.26", "mkdocs-bibtex>=2.16"]
notebooks = ["jupyter>=1.0", "nbconvert>=7"]
paper = ["mystmd>=1.9", "ipykernel>=6", "nbclient>=0.10"]
case = ["opensysml>=0.12.1", "z3-solver>=4.13"]
[tool.uv]
default-groups = ["dev", "case", "docs", "paper"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/tradespace"]
# The sdist carries the package, the tests, the licence, the readme and the changelog, and nothing else.
[tool.hatch.build.targets.sdist]
include = ["/src/tradespace", "/tests", "/LICENSE", "/README.md", "/CHANGELOG.md", "/pyproject.toml"]
[tool.pytest.ini_options]
testpaths = ["tests", "src"]
addopts = "--doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE"
pythonpath = [".", "src", "examples/adcs"]
[tool.ruff]
line-length = 100
target-version = "py312"
# Research-spike folders and the views generator hold throwaway-style scripts kept for reproducibility, and the package-user cells' returns are
# evidence kept verbatim (their code blocks are the cells' own); neither is package code.
extend-exclude = ["docs/superpowers/notes/spike-horopca", "docs/superpowers/notes/spike-facet-refit", "scripts/sysml_project.py", "work-packages/spikes", "work-packages/WP32-cells/round-*"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]