@@ -174,8 +174,89 @@ conflicts = [
174174 ],
175175]
176176no-build-isolation-package = [
177+ " chumpy" , # build-system.requires: pip
178+ " detectron2" , # build-system.requires: Cython, numpy, setuptools
179+ " mmpose" , # build-system.requires: numpy, torch
180+ " xtcocotools" , # build-system.requires: Cython, numpy
181+ " yolox" , # build-system.requires: pycocotools, torch, yolox, ...
182+ ]
183+
184+ # Manually specify dependencies for packages without declarative dependency metadata.
185+ [[tool .uv .dependency-metadata ]]
186+ name = " chumpy"
187+ version = " 0.71"
188+ requires-dist = [
189+ " scipy" ,
190+ " six" ,
191+ ]
192+
193+ [[tool .uv .dependency-metadata ]]
194+ name = " detectron2"
195+ version = " 0.6"
196+ requires-dist = [
197+ # From https://github.com/facebookresearch/detectron2/blob/main/setup.py
198+ " Pillow>=7.1" ,
199+ " matplotlib" ,
200+ " pycocotools>=2.0.2" ,
201+ " termcolor>=1.1" ,
202+ " yacs>=0.1.8" ,
203+ " tabulate" ,
204+ " cloudpickle" ,
205+ " tqdm>4.29.0" ,
206+ " tensorboard" ,
207+ " fvcore>=0.1.5,<0.1.6" ,
208+ " iopath>=0.1.7,<0.1.10" ,
209+ " future" ,
210+ " pydot" ,
211+ " dataclasses; python_version<'3.7'" ,
212+ " omegaconf>=2.1" ,
213+ " hydra-core>=1.1" ,
214+ # "black==21.4b2",
215+ ]
216+
217+ [[tool .uv .dependency-metadata ]]
218+ name = " mmpose"
219+ version = " 1.3.2"
220+ requires-dist = [
221+ # From https://github.com/open-mmlab/mmpose/blob/main/requirements/runtime.txt
177222 " chumpy" ,
178- " xtcocotools" ,
223+ " json_tricks" ,
224+ " matplotlib" ,
225+ " scipy" ,
226+ " xtcocotools>=1.12" ,
227+ ]
228+
229+ [[tool .uv .dependency-metadata ]]
230+ name = " xtcocotools"
231+ version = " 1.14.3"
232+ requires-dist = [
233+ # From https://github.com/jin-s13/xtcocoapi/blob/master/requirements.txt
234+ " setuptools>=18.0" ,
235+ " Cython>=0.27.3" ,
236+ " matplotlib>=2.1.0" ,
237+ " numpy>=1.19.5; python_version == '3.6'" ,
238+ " numpy>=1.20.0; python_version >= '3.7'" ,
239+ ]
240+
241+ [[tool .uv .dependency-metadata ]]
242+ name = " yolox"
243+ version = " 0.3.0"
244+ requires-dist = [
245+ # From https://github.com/Megvii-BaseDetection/YOLOX/blob/main/requirements.txt
246+ " numpy" ,
247+ " torch>=1.7" ,
248+ " opencv-python" ,
249+ " loguru" ,
250+ " tqdm" ,
251+ " torchvision" ,
252+ " thop" ,
253+ " ninja" ,
254+ " tabulate" ,
255+ " psutil" ,
256+ " tensorboard" ,
257+ " pycocotools>=2.0.2" ,
258+ # "onnx>=1.13.0",
259+ # "onnx-simplifier==0.4.10",
179260]
180261
181262[[tool .uv .index ]]
0 commit comments