build: fix include paths so that __file__ is absolute not relative (#18997)
This commit is contained in:
		
					parent
					
						
							
								6243dba068
							
						
					
				
			
			
				commit
				
					
						c1ad0725d8
					
				
			
		
					 5 changed files with 10 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -12,7 +12,8 @@ import subprocess
 | 
			
		|||
import sys
 | 
			
		||||
import tempfile
 | 
			
		||||
 | 
			
		||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../..")
 | 
			
		||||
sys.path.append(
 | 
			
		||||
  os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../.."))
 | 
			
		||||
 | 
			
		||||
from io import StringIO
 | 
			
		||||
from lib.config import PLATFORM, get_target_arch,  get_env_var, s3_config, \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue