mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 21:34:59 +00:00
Used a temporary named directory instead of /dev/null in setup.py.
This commit is contained in:
parent
8256f611b4
commit
472ad976b8
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
@ -1,6 +1,7 @@
|
|||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
|
@ -28,7 +29,7 @@ cmd = [
|
|||
torch,
|
||||
"--no-deps",
|
||||
"--dest",
|
||||
"/dev/null",
|
||||
tempfile.mkdtemp(prefix="pytorch_download_"),
|
||||
"--index-url",
|
||||
"https://download.pytorch.org/whl/cpu",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue