mirror of https://github.com/aminya/setup-cpp
fix: ensure existence of folders for pipx home
This commit is contained in:
parent
cc30e9b1d5
commit
7fba762e3e
|
@ -26,13 +26,11 @@ words:
|
|||
- copr
|
||||
- CPATH
|
||||
- Cppcheck
|
||||
- nodistro
|
||||
- dearmor
|
||||
- CPPFLAGS
|
||||
- cpprc
|
||||
- untildified
|
||||
- Cpython
|
||||
- DCMAKE
|
||||
- dearmor
|
||||
- deps
|
||||
- devel
|
||||
- DVCPKG
|
||||
|
@ -64,6 +62,7 @@ words:
|
|||
- mxschmitt
|
||||
- nala
|
||||
- noconfirm
|
||||
- nodistro
|
||||
- noprogressbar
|
||||
- nothrow
|
||||
- npmrc
|
||||
|
@ -85,6 +84,7 @@ words:
|
|||
- Trofimovich
|
||||
- tsbuildinfo
|
||||
- ucrt
|
||||
- untildified
|
||||
- untildify
|
||||
- upleveled
|
||||
- vbatts
|
||||
|
@ -92,6 +92,7 @@ words:
|
|||
- VCPKG
|
||||
- vcvarsall
|
||||
- venv
|
||||
- venvs
|
||||
- visualc
|
||||
- visualcpp
|
||||
- vsversion
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -63,6 +63,9 @@ export async function setupPipPackWithPython(
|
|||
if (isPipx && user) {
|
||||
const pipxHome = await getPipxHome()
|
||||
await mkdirp(pipxHome)
|
||||
await mkdirp(join(pipxHome, "trash"))
|
||||
await mkdirp(join(pipxHome, "shared"))
|
||||
await mkdirp(join(pipxHome, "venv"))
|
||||
|
||||
// install to user home
|
||||
env.PIPX_HOME = pipxHome
|
||||
|
|
Loading…
Reference in New Issue