-
Notifications
You must be signed in to change notification settings - Fork 216
/
pyproject.toml
128 lines (118 loc) · 3.14 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[tool.poetry]
name = "underactuated"
# Use e.g. 2023.10.4.rc0 if I need to release a release candidate.
# Use e.g. 2023.10.4.post1 if I need to rerelease on the same day.
version = "2024.11.14"
description = "MIT 6.821 - Underactuated Robotics"
authors = ["Russ Tedrake <[email protected]>"]
license = "BSD License"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License"
]
include = [
"LICENSE.txt",
"README.md",
"pyproject.toml",
"underactuated/**/*.jpg",
"underactuated/**/*.md",
"underactuated/**/*.mtl",
"underactuated/**/*.npy",
"underactuated/**/*.obj",
"underactuated/**/*.py",
"underactuated/**/*.sdf",
"underactuated/**/*.txt",
"underactuated/**/*.urdf",
"underactuated/**/*.xml",
"underactuated/**/*.yaml"
]
exclude = [
"*.egg-info/**",
"**/__pycache__/**",
"**/*.bazel",
"**/test/**",
"bazel-*",
"book/**",
"solutions/**",
"figures/**"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "drake-nightly"
url = "https://drake-packages.csail.mit.edu/whl/nightly/"
priority = "explicit"
[tool.poetry.dependencies]
python = "<4.0,>=3.10"
#drake = { version = "==0.0.20240307", source = "drake-nightly" }
drake = ">=1.30.0"
gradescope-utils = ">=0.4.0"
ipywidgets = ">7"
lxml = {version = ">=4.9.2", extras = ["html_clean"] } # used in uav_environment.py
mpld3 = ">=0.5.1"
numpy = "<2.0.0" # https://github.com/RobotLocomotion/drake/issues/21577
pandas = ">=2.0"
pydot = ">=1.3.0"
scipy = ">=1.10.0" # From github dependabot
timeout-decorator = ">=0.4.1"
[tool.poetry.group.docs]
optional = true
# Must include all dependencies required to build the docs with sphinx + autodoc.
[tool.poetry.group.docs.dependencies]
# Should match drake version above.
#drake = { version = "==0.0.20240307", source = "drake-nightly" }
drake = ">=1.30.0"
ipython = ">=7.8.0"
sphinx = ">=7.2.6"
myst-parser = ">=2.0.0"
sphinx_rtd_theme = ">=2.0.0"
[tool.poetry.group.dev.dependencies]
beautifulsoup4 = ">=4.6.3"
black = { version = ">=23.*", extras = ["jupyter"] }
# Blocked on poetry known issue; see Developers.md
#matplotlib = [
# {platform="darwin", version=">=3.7.0"}, # old versions don't build in XCode
# {platform="linux", version="3.5.1"}, # https://github.com/RobotLocomotion/drake/issues/14250
#]
mysql-connector-python = ">=8.0.23"
nbconvert = [
{platform="darwin", version="7.0.0"},
{platform="linux", version="6.4.0"},
]
poetry-plugin-export = ">=1.6.0"
pre-commit = "^3.4.0"
# poetry-pre-commit-plugin = "^0.1.2" # causes cycle for bazel.
requests = ">=2.25.1"
[tool.black]
include = '\.ipynb?$|\.pyi?$'
exclude = '''
/(
\.git
| \.history
| bazel-*
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
skip_glob = [
"**/.git/**",
"**/.history/**",
"bazel-*",
"**/.venv/**",
"**/build/**",
"**/dist/**",
]
[tool.autoflake]
in-place = true
recursive = true
expand-star-imports = true
ignore-init-module-imports = true
remove-all-unused-imports = true
remove-duplicate-keys = true
remove-unused-variables = true