|  | @@ -19,7 +19,6 @@ Enabling parallel build helps a lot.
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import distutils.ccompiler
 | 
	
		
			
				|  |  |  import os
 | 
	
		
			
				|  |  | -import six
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  try:
 | 
	
		
			
				|  |  |      BUILD_EXT_COMPILER_JOBS = int(
 | 
	
	
		
			
				|  | @@ -38,12 +37,10 @@ def _parallel_compile(self,
 | 
	
		
			
				|  |  |                        extra_preargs=None,
 | 
	
		
			
				|  |  |                        extra_postargs=None,
 | 
	
		
			
				|  |  |                        depends=None):
 | 
	
		
			
				|  |  | -    if isinstance(output_dir, six.text_type):
 | 
	
		
			
				|  |  | -        output_dir = str(output_dir)
 | 
	
		
			
				|  |  |      # setup the same way as distutils.ccompiler.CCompiler
 | 
	
		
			
				|  |  |      # https://github.com/python/cpython/blob/31368a4f0e531c19affe2a1becd25fc316bc7501/Lib/distutils/ccompiler.py#L564
 | 
	
		
			
				|  |  |      macros, objects, extra_postargs, pp_opts, build = self._setup_compile(
 | 
	
		
			
				|  |  | -        output_dir, macros, include_dirs, sources, depends, extra_postargs)
 | 
	
		
			
				|  |  | +        str(output_dir), macros, include_dirs, sources, depends, extra_postargs)
 | 
	
		
			
				|  |  |      cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      def _compile_single_file(obj):
 |