Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
0db3111b
Commit
0db3111b
authored
Mar 03, 2024
by
comfyanonymous
Browse files
Disable site dir in updater when doing pip install.
parent
12c1080e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.ci/update_windows/update.py
.ci/update_windows/update.py
+1
-1
No files found.
.ci/update_windows/update.py
View file @
0db3111b
...
@@ -104,7 +104,7 @@ if self_update and not files_equal(update_py_path, repo_update_py_path) and file
...
@@ -104,7 +104,7 @@ if self_update and not files_equal(update_py_path, repo_update_py_path) and file
if
not
os
.
path
.
exists
(
req_path
)
or
not
files_equal
(
repo_req_path
,
req_path
):
if
not
os
.
path
.
exists
(
req_path
)
or
not
files_equal
(
repo_req_path
,
req_path
):
import
subprocess
import
subprocess
try
:
try
:
subprocess
.
check_call
([
sys
.
executable
,
'-m'
,
'pip'
,
'install'
,
'-r'
,
repo_req_path
])
subprocess
.
check_call
([
sys
.
executable
,
'-s'
,
'-m'
,
'pip'
,
'install'
,
'-r'
,
repo_req_path
])
shutil
.
copy
(
repo_req_path
,
req_path
)
shutil
.
copy
(
repo_req_path
,
req_path
)
except
:
except
:
pass
pass
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment