parameters: (engine_path, export_path)
docstring: Copy mono directory and CRYENGINE C# libraries to export path.
docstring_summary: Copy mono directory and CRYENGINE C# libraries to export path.
docstring_tokens: Copy mono directory and CRYENGINE C# libraries to export path .
function: def copy_mono_files(engine_path, export_path):
      """
      Copy mono directory and CRYENGINE C# libraries to export path.
      """
      input_bindir = os.path.join(engine_path, 'bin')
      output_bindir = os.path.join(export_path, 'bin')
  
      shutil.copytree(os.path.join(input_bindir, 'common'),
                      os.path.join(output_bindir, 'common'))
  
      for csharp_file in os.listdir(os.path.join(input_bindir, 'win_x64')):
          # We've already copied the non-C# libraries, so skip them here.
          if not fnmatch.fnmatch(csharp_file, 'CryEngine.*.dll'):
              continue
          shutil.copyfile(os.path.join(input_bindir, 'win_x64', csharp_file),
                          os.path.join(output_bindir, 'win_x64', csharp_file))
function_tokens: def copy_mono_files ( engine_path , export_path ) : input_bindir = os . path . join ( engine_path , 'bin' ) output_bindir = os . path . join ( export_path , 'bin' ) shutil . copytree ( os . path . join ( input_bindir , 'common' ) , os . path . join ( output_bindir , 'common' ) ) for csharp_file in os . listdir ( os . path . join ( input_bindir , 'win_x64' ) ) : # We've already copied the non-C# libraries, so skip them here. if not fnmatch . fnmatch ( csharp_file , 'CryEngine.*.dll' ) : continue shutil . copyfile ( os . path . join ( input_bindir , 'win_x64' , csharp_file ) , os . path . join ( output_bindir , 'win_x64' , csharp_file ) )