Add cdist dir to sys.path for sphinx ext and cdist modules.
This commit is contained in:
		
					parent
					
						
							
								7a9a04592b
							
						
					
				
			
			
				commit
				
					
						a220d4805a
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -20,6 +20,7 @@ import os
 | 
				
			||||||
# add these directories to sys.path here. If the directory is relative to the
 | 
					# add these directories to sys.path here. If the directory is relative to the
 | 
				
			||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
 | 
					# documentation root, use os.path.abspath to make it absolute, like shown here.
 | 
				
			||||||
#sys.path.insert(0, os.path.abspath('.'))
 | 
					#sys.path.insert(0, os.path.abspath('.'))
 | 
				
			||||||
 | 
					sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# -- General configuration ------------------------------------------------
 | 
					# -- General configuration ------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue