-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
193 lines (179 loc) · 4.47 KB
/
pyproject.toml
File metadata and controls
193 lines (179 loc) · 4.47 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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
[project]
name = "molmo-spaces"
version = "0.0.1"
description = "Large scale assets and benchmarks for vision language policies"
readme = "README.md"
authors = [
{ name = "Allen Institute for Artificial Intelligence" }
]
requires-python = ">=3.10"
dependencies = [
"attrs",
"beaker-py>2.0.0",
"boto3>=1.35.0",
"coacd>=1.0.7",
"compress-json>=1.1.1",
"decord; sys_platform == 'linux'", # For Linux
"eva-decord; sys_platform == 'darwin'", # For macOS
"einops>=0.8.1",
"ffmpeg-python>=0.2.0",
"filelock",
"future>=1.0.0",
"gymnasium",
"h5py>=3.10.0",
"hidapi",
"imageio[ffmpeg]",
"jax~=0.6.2",
"jaxlie~=1.5.0",
"lmdb~=1.7.5",
"lxml>=5.0.0",
"moviepy",
"mujoco-mjx==3.4.0",
"mujoco==3.4.0",
"msgpack",
"nbstripout>=0.7.0",
"nltk~=3.9.2",
"numpy>=2.2.0,<3",
"numpy-quaternion~=2024.0.10",
"nvidia-ml-py",
"omegaconf>=2.3.0",
"open_clip_torch~=3.2.0",
"opencv-python",
"pandas>=2.3.1",
"pillow>=10.0.0",
"prior>=1.0.3",
"protobuf>=4.21.0",
"psutil",
"pydantic>=2.0.0,<3",
"pynput>=1.8.1",
"scikit-image",
"scipy>=1.14.0",
"shapely>=2.1.1",
"shortuuid>=1.0.0",
"stringcase~=1.2",
"tensorboard>=2.20.0",
"teledex",
"termcolor>=2.0.0",
"toppra>=0.6.3",
"torch~=2.7.0", # torch 2.8.x is brand new and has some regressions vs 2.7.x - prefer to hold back for now - this installs nvidia_cuda_nvrtc_cu12-12.6.77 by default, not 12.8
"torchvision>=0.22.0,<0.23.0",
"tqdm>=4.65.0",
"trimesh>=4.7.3",
"wandb>=0.18.10",
"zstandard~=0.25.0", # from resource manager
"pytest", # note (yejin): moved from dev deps since needed in Docker builds
]
[project.optional-dependencies]
dev = [
"mypy>=1.18.1",
"pre-commit>=4.3.0",
"pybind11-stubgen>=2.5.5",
"ruff>=0.13.1",
"ty>=0.0.15",
]
grasp = [
"matplotlib",
"meshcat",
"python-fcl",
"rtree",
"scikit-learn",
"tensorflow",
]
housegen = [
"p_tqdm",
"open3d>=0.19.0",
"bpy==3.6.0",
]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.uv]
package = true
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'linux'",
]
[tool.uv.sources]
bpy = { index = "bpy" }
[[tool.uv.index]]
name = "bpy"
url = "https://download.blender.org/pypi/"
explicit = true
[project.scripts]
generate-houses = "molmo_spaces.housegen.exporter:main"
[tool.setuptools.packages.find]
where = ["./"]
include = ["molmo_spaces*"]
exclude = ["molmo_spaces_isaac*", "molmo_spaces_maniskill*"]
[tool.setuptools.package-data]
"molmo_spaces" = [
"resources/asset_id_to_object_type.json",
"resources/material_to_textures.json",
"resources/base_scene.xml",
]
[tool.ruff]
target-version = "py310"
line-length = 100
exclude = [
"scripts/",
"tests/",
"mlspaces_tests/scenes/",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
docstring-code-format = false
[tool.ruff.lint]
select = [
# # docstring
# "D",
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# PEP8
"W",
# flake8-annotations
"ANN",
]
ignore = [
"C408", # don't complain about usage of dict() calls
"C901", # don't complain about function complexity
"E501", # don't complain about line-length (handled by line-length setting)
"B006", # defaults shouldn't be mutable
"UP015", # redundant mode arguments in open should be fine for now
"SIM117", # allow nested with statements for now
"SIM102", # don't be picky about nested if statements
"SIM114", # don't be picky about merging if branches using or
# "ANN001", # disable check for type annotations for now
# "ANN201", # disable check for type annotations for now
"B905", # allow zip() without `strict` parameter
"B026", # allow star-arg after keyword argument for now
"B019", # allow functools.cache on methods
"ANN001", # missing-type-function-argument
"ANN002",
"ANN201", # missing-return-type-undocumented-public-function
"ANN202", # missing-return-type-private-function
"ANN003", # missing-type-kwargs
"E402", # module-import-not-at-top-of-file
"ANN401",
"ANN204",
"ANN206",
"F821",
"SIM108",
]
[tool.ty.environment]
extra-paths = ["./typings"]
[tool.ruff.lint.pydocstyle]
convention = "google"