mirror of
				https://github.com/SteamDeckHomebrew/decky-plugin-template.git
				synced 2025-10-31 07:12:26 -05:00 
			
		
		
		
	Add simple support for dependent python modules (#11)
* add pipinstall script and append py_modules to PYTHONPATH allows dependent python modules to be installed * separate build_frontend and pip_install * use prepare script for installing python modules * use pip3 instead of pip * always create requirements.txt, even if empty
This commit is contained in:
		
					parent
					
						
							
								965b1ea7d0
							
						
					
				
			
			
				commit
				
					
						229c2aa079
					
				
			
		
					 3 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										5
									
								
								main.py
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								main.py
									
										
									
									
									
								
							|  | @ -1,3 +1,8 @@ | |||
| import os | ||||
| import sys | ||||
| # append py_modules to PYTHONPATH | ||||
| sys.path.append(os.path.dirname(os.path.realpath(__file__))+"/py_modules") | ||||
| 
 | ||||
| import logging | ||||
| 
 | ||||
| logging.basicConfig(filename="/tmp/template.log", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue