You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							606 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							606 B
						
					
					
				import os
 | 
						|
from distutils.core import Extension, setup
 | 
						|
from Cython.Build import cythonize
 | 
						|
from common.cython_hacks import BuildExtWithoutPlatformSuffix
 | 
						|
from common.basedir import BASEDIR
 | 
						|
 | 
						|
sourcefiles = ['params_pyx.pyx']
 | 
						|
extra_compile_args = ["-std=c++11"]
 | 
						|
 | 
						|
setup(name='common',
 | 
						|
      cmdclass={'build_ext': BuildExtWithoutPlatformSuffix},
 | 
						|
      ext_modules=cythonize(
 | 
						|
        Extension(
 | 
						|
          "params_pyx",
 | 
						|
          language="c++",
 | 
						|
          sources=sourcefiles,
 | 
						|
          include_dirs=[BASEDIR, os.path.join(BASEDIR, 'selfdrive')],
 | 
						|
          extra_compile_args=extra_compile_args
 | 
						|
        )
 | 
						|
      )
 | 
						|
)
 | 
						|
 |