Skip to content

[Bug]: Update setuptools requirement for PEP 660 support #2314

@sunstudio

Description

@sunstudio

Describe the bug

I install anomalib from source. Get the following error:

ERROR: Project file:///home/sun/programs/anomalib has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.

Dataset

N/A

Model

N/A

Steps to reproduce the behavior

git clone
cd anomalib
pip install -e .

OS information

  • OS: [e.g. Ubuntu 22.04]
  • Python version: [e.g. 3.10.0]
  • Anomalib version: [e.g. 1.1.1]

Expected behavior

install anomalib

Screenshots

No response

Pip/GitHub

GitHub

What version/branch did you use?

No response

Configuration YAML

none

Logs

none

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

🐞bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions