diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-15 14:37:04 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-15 14:37:04 +0000 |
commit | a1076aca44a1eebb14974c6dd5f78161830d8542 (patch) | |
tree | cb458654a5ef110e4052745cec1996ef3bb0cade | |
parent | 14d00fdd2d3594a1b17a233f2edc0afc2582f0b4 (diff) |
automatic import of torchvision
-rw-r--r-- | torchvision.spec | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/torchvision.spec b/torchvision.spec index eb68fb5..b305f49 100644 --- a/torchvision.spec +++ b/torchvision.spec @@ -23,11 +23,10 @@ Torchvision is a PyTorch add-on that provides access to: %autosetup -p1 -n vision-%{pypi_version} %build -python3 setup.py build +%pyproject_build %install -rm -rf %{buildroot} -python3 setup.py install --root %{buildroot} +%pyproject_install %files %doc *.md |