mirror of
				https://github.com/msgpack/msgpack-python.git
				synced 2025-10-31 17:40:54 +00:00 
			
		
		
		
	Skip compile error for extension modules.
This commit is contained in:
		
							parent
							
								
									22920baae6
								
							
						
					
					
						commit
						1951b197b5
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		
							
								
								
									
										7
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								setup.py
									
										
									
									
									
								
							|  | @ -46,7 +46,12 @@ class BuildExt(build_ext): | ||||||
|             print("Install Cython >= 0.16 or install msgpack from PyPI.") |             print("Install Cython >= 0.16 or install msgpack from PyPI.") | ||||||
|             print("Falling back to pure Python implementation.") |             print("Falling back to pure Python implementation.") | ||||||
|             return |             return | ||||||
|         return build_ext.build_extension(self, ext) |         try: | ||||||
|  |             return build_ext.build_extension(self, ext) | ||||||
|  |         except Exception as e: | ||||||
|  |             print("WARNING: Failed to compile extensiom modules.") | ||||||
|  |             print("msgpack uses fallback pure python implementation.") | ||||||
|  |             print(e) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| exec(open('msgpack/_version.py').read()) | exec(open('msgpack/_version.py').read()) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 INADA Naoki
						INADA Naoki