put generated files in subfolder, run unittests by default
							parent
							
								
									a4f28bc7fb
								
							
						
					
					
						commit
						a21dd0e471
					
				| 
						 | 
				
			
			@ -5,6 +5,7 @@ set -e
 | 
			
		|||
set -x
 | 
			
		||||
 | 
			
		||||
#usage: wrap [--matlab|--cython] absoluteInterfacePath moduleName toolboxPath headerPath
 | 
			
		||||
wrap --cython $PWD gtsam $PWD ../
 | 
			
		||||
wrap --cython $PWD gtsam $PWD/gtsam ../
 | 
			
		||||
 | 
			
		||||
python setup.py build_ext --inplace
 | 
			
		||||
python -m unittest discover
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
from gtsam import *
 | 
			
		||||
| 
						 | 
				
			
			@ -3,12 +3,10 @@ from distutils.extension import Extension
 | 
			
		|||
from Cython.Build import cythonize
 | 
			
		||||
import eigency
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
setup(
 | 
			
		||||
  ext_modules = cythonize(Extension(
 | 
			
		||||
    "gtsam",
 | 
			
		||||
    sources=["gtsam.pyx"],
 | 
			
		||||
    sources=["gtsam/gtsam.pyx"],
 | 
			
		||||
    include_dirs = ["/Users/dta-huynh/install/include",
 | 
			
		||||
                    "/Users/dta-huynh/install/include/gtsam/3rdparty/Eigen",
 | 
			
		||||
                    "/usr/local/include"] + eigency.get_includes(include_eigen=False),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue