38 lines
1.0 KiB
TOML
38 lines
1.0 KiB
TOML
[project]
|
|
name = "cmvr-analog-gauge-worker"
|
|
version = "0.1.0"
|
|
description = "Isolated Python 3.8 runtime for ethz-asl/analog_gauge_reader"
|
|
requires-python = ">=3.8,<3.9"
|
|
dependencies = [
|
|
"mmcv @ https://download.openmmlab.com/mmcv/dist/cpu/torch2.0.0/mmcv-2.0.0-cp38-cp38-manylinux1_x86_64.whl",
|
|
"mmengine==0.7.2",
|
|
"mmdet==3.0.0",
|
|
"mmocr==1.0.0",
|
|
"numpy==1.24.3",
|
|
"opencv-python==4.8.1.78",
|
|
"scikit-learn==1.2.2",
|
|
# Ultralytics 8.0.66 imports pkg_resources during module initialization.
|
|
# 75.3.2 is the final setuptools release line that supports Python 3.8.
|
|
"setuptools==75.3.2",
|
|
"scipy==1.10.1",
|
|
"torch==2.0.0",
|
|
"torchvision==0.15.1",
|
|
"ultralytics==8.0.66",
|
|
]
|
|
|
|
[tool.uv]
|
|
package = false
|
|
required-version = ">=0.11.16"
|
|
required-environments = [
|
|
"sys_platform == 'linux' and platform_machine == 'x86_64' and python_version == '3.8'",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
torch = { index = "pytorch-cpu" }
|
|
torchvision = { index = "pytorch-cpu" }
|
|
|
|
[[tool.uv.index]]
|
|
name = "pytorch-cpu"
|
|
url = "https://download.pytorch.org/whl/cpu"
|
|
explicit = true
|