-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (57 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (57 loc) · 1.6 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
[project]
name = "orlab"
version = "0.10.0.dev0"
description = "Interact and script with OpenRocket from Python via JPype, with enhanced capabilities for simulations and computational workflows"
readme = "README.md"
requires-python = ">=3.10"
license = "GPL-2.0-only"
authors = [
{name = "Cameron Brooks", email = "cambrooks3393@gmail.com"}
]
keywords = ["openrocket", "rocketry", "simulation", "jpype", "model-rocket"]
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
dependencies = [
"jpype1>=1.5",
"numpy>=1.24",
]
[project.optional-dependencies]
pandas = ["pandas>=2.0"]
all = ["orlab[pandas]"]
[project.urls]
Repository = "https://github.com/CameronBrooks11/orlab"
Issues = "https://github.com/CameronBrooks11/orlab/issues"
[dependency-groups]
dev = ["pytest>=8", "ruff>=0.11", "mypy>=1.10"]
docs = [
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.25",
]
examples = ["matplotlib>=3.8", "scipy>=1.11"]
[tool.uv]
default-groups = ["dev"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/orlab"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP", "SIM"]
ignore = ["E501", "B008", "SIM102", "SIM105"]
[tool.mypy]
packages = ["orlab"]
mypy_path = "src"
[[tool.mypy.overrides]]
module = ["jpype", "jpype.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-m 'not integration'"
markers = [
"integration: requires OpenRocket jars and a JVM (subprocess-per-version)",
]