-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (65 loc) · 1.59 KB
/
pyproject.toml
File metadata and controls
79 lines (65 loc) · 1.59 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 = "skyw-swarm"
version = "1.0.0"
description = "Crazyflie swarm formation control with ROS2"
authors = [
{name = "Your Name", email = "your@email.com"}
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
# Core scientific computing
"numpy>=1.24.0",
"scipy>=1.10.0",
# ROS2 Python packages (if using pip-installed versions)
"empy>=3.3,<4", # Required for ROS2 message generation
"catkin-pkg>=1.0.0", # Required for ROS2 package.xml parsing
"lark>=1.0.0", # Required for ROS2 interface parsing
"transforms3d>=0.4.1",
"rowan>=1.3.0",
# Crazyflie driver library
"cflib>=0.1.31", # Crazyflie Python library
# Visualization (optional)
"matplotlib>=3.7.0",
# Hungarian algorithm for assignment
"scikit-learn>=1.3.0",
# Async support
"asyncio>=3.4.3",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.5.0",
"ruff>=0.1.0",
]
sim = [
"pybullet>=3.2.5", # For physics simulation
]
visualization = [
"matplotlib>=3.7.0",
"plotly>=5.17.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/skyw_swarm"]
[dependency-groups]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
]
[tool.black]
line-length = 100
target-version = ['py310']
[tool.ruff]
line-length = 100
select = ["E", "F", "I"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true