forked from ungleich-public/cdist
		
	Generate version.py if it does not exist
This commit is contained in:
		
					parent
					
						
							
								778cd4ff0e
							
						
					
				
			
			
				commit
				
					
						fc28f58c77
					
				
			
		
					 1 changed files with 8 additions and 1 deletions
				
			
		
							
								
								
									
										9
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								setup.py
									
										
									
									
									
								
							|  | @ -1,7 +1,14 @@ | |||
| from distutils.core import setup | ||||
| import cdist | ||||
| import os | ||||
| import re | ||||
| import subprocess | ||||
| 
 | ||||
| 
 | ||||
| if not os.path.exists(os.path.join('cdist', 'version.py')): | ||||
|     subprocess.run([os.path.join('bin', 'build-helper'), 'version', ]) | ||||
| 
 | ||||
| 
 | ||||
| import cdist | ||||
| 
 | ||||
| 
 | ||||
| def data_finder(data_dir): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue