Keep temporary files in .cache/tmp
This commit is contained in:
parent
b5db5ab80e
commit
f5a0a91202
1 changed files with 4 additions and 0 deletions
|
|
@ -144,6 +144,10 @@ nox.options.sessions = (
|
|||
# because only then are the headers needed to build `rpy2` from source included
|
||||
os.environ.setdefault('UV_PYTHON_PREFERENCE', 'only-managed')
|
||||
|
||||
# Where to keep temporary files (e.g., the constraints file in `install_pinned()`)
|
||||
tempfile.tempdir = '.cache/tmp'
|
||||
os.makedirs(tempfile.tempdir, exist_ok=True)
|
||||
|
||||
|
||||
@nox.session(name='format', python=MAIN_PYTHON)
|
||||
def format_(session):
|
||||
|
|
|
|||
Loading…
Reference in a new issue