Skip to content

Commit

Permalink
Honor --skip-install for extension installers
Browse files Browse the repository at this point in the history
  • Loading branch information
catboxanon committed Aug 28, 2023
1 parent d1c93c3 commit f581ce0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/launch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ def run_extension_installer(extension_dir):
if not os.path.isfile(path_installer):
return

if args.skip_install:
return

try:
env = os.environ.copy()
env['PYTHONPATH'] = f"{os.path.abspath('.')}{os.pathsep}{env.get('PYTHONPATH', '')}"
Expand Down

0 comments on commit f581ce0

Please sign in to comment.