build: use python3 for electron hooks (#26839)
This commit is contained in:
		
					parent
					
						
							
								e89b3ca1d1
							
						
					
				
			
			
				commit
				
					
						03b43e4d8c
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								DEPS
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								DEPS
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -159,7 +159,7 @@ hooks = [
 | 
			
		|||
    'action': [
 | 
			
		||||
      'python3',
 | 
			
		||||
      '-c',
 | 
			
		||||
      'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python", "script/lib/npx.py", "yarn@' + (Var("yarn_version")) + '", "install", "--frozen-lockfile"]);',
 | 
			
		||||
      'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python3", "script/lib/npx.py", "yarn@' + (Var("yarn_version")) + '", "install", "--frozen-lockfile"]);',
 | 
			
		||||
    ],
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
| 
						 | 
				
			
			@ -169,7 +169,7 @@ hooks = [
 | 
			
		|||
    'action': [
 | 
			
		||||
      'python3',
 | 
			
		||||
      '-c',
 | 
			
		||||
      'import os, subprocess; os.chdir(os.path.join("src", "electron", "vendor", "requests")); subprocess.check_call(["python", "setup.py", "build"]);',
 | 
			
		||||
      'import os, subprocess; os.chdir(os.path.join("src", "electron", "vendor", "requests")); subprocess.check_call(["python3", "setup.py", "build"]);',
 | 
			
		||||
    ],
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue