Should setuptools
be specified as a dependency in the pyproject.toml? #5090
Closed
Description
It seems that triton's python package requires setuptools
to be installed at runtime and not just at build time, but its not listed as a dependency in the pyproject.toml. It's only listed in the build-system.requires
table.
triton/python/triton/runtime/build.py
Line 8 in 1070ca2
I'm used
uv venv
to create my venv which by default doesn't include setuptools
(you need to use the --seed
flag) , so when I install triton
it looks good, but then trying to import triton
fails:
File "/home/my_project/.venv/lib/python3.11/site-packages/triton/runtime/build.py", line 8, in <module>
import setuptools
ModuleNotFoundError: No module named 'setuptools'
Metadata
Assignees
Labels
No labels