| 
									
										
										
										
											2017-07-23 10:40:43 +08:00
										 |  |  | import os | 
					
						
							|  |  |  | import numpy as np | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-17 07:58:35 +08:00
										 |  |  | __eigen_dir__ = "${GTSAM_EIGEN_INCLUDE_FOR_INSTALL}" | 
					
						
							| 
									
										
										
										
											2017-07-23 10:40:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | def get_includes(include_eigen=True): | 
					
						
							|  |  |  |     root = os.path.dirname(__file__) | 
					
						
							|  |  |  |     parent = os.path.join(root, "..") | 
					
						
							|  |  |  |     path = [root, parent, np.get_include()] | 
					
						
							|  |  |  |     if include_eigen: | 
					
						
							|  |  |  |         path.append(os.path.join(root, __eigen_dir__)) | 
					
						
							|  |  |  |     return path | 
					
						
							|  |  |  | 
 |