mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Fix blis import in setup
This commit is contained in:
		
							parent
							
								
									f6034d90f0
								
							
						
					
					
						commit
						e749cb96b2
					
				
							
								
								
									
										6
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								setup.py
									
									
									
									
									
								
							|  | @ -75,8 +75,7 @@ MOD_NAMES = [ | ||||||
| compile_options =  { | compile_options =  { | ||||||
|     'msvc': ['/Ox', '/EHsc'], |     'msvc': ['/Ox', '/EHsc'], | ||||||
|     'mingw32' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function'], |     'mingw32' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function'], | ||||||
|     'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function', |     'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function'] | ||||||
|                '-I/Users/matt/blis/include/blis'] |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -175,8 +174,7 @@ def setup_package(): | ||||||
|             mod_path = mod_name.replace('.', '/') + '.cpp' |             mod_path = mod_name.replace('.', '/') + '.cpp' | ||||||
|             ext_modules.append( |             ext_modules.append( | ||||||
|                 Extension(mod_name, [mod_path], |                 Extension(mod_name, [mod_path], | ||||||
|                     language='c++', include_dirs=include_dirs, |                     language='c++', include_dirs=include_dirs)) | ||||||
|                     libraries=['/Users/matt/blis/lib/blis'])) |  | ||||||
| 
 | 
 | ||||||
|         if not is_source_release(root): |         if not is_source_release(root): | ||||||
|             generate_cython(root, 'spacy') |             generate_cython(root, 'spacy') | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user