parameters: (dist_dir)
docstring: Set file EOL for tarball distribution.
docstring_summary: Set file EOL for tarball distribution.
docstring_tokens: Set file EOL for tarball distribution .
function: def fix_sources_eol(dist_dir):
      """Set file EOL for tarball distribution.
      """
      print('Preparing exported source file EOL for distribution...')
      prune_dirs = antglob.prune_dirs + 'scons-local* ./build* ./libs ./dist'
      win_sources = antglob.glob(dist_dir, 
          includes = '**/*.sln **/*.vcproj',
          prune_dirs = prune_dirs)
      unix_sources = antglob.glob(dist_dir,
          includes = '''**/*.h **/*.cpp **/*.inl **/*.txt **/*.dox **/*.py **/*.html **/*.in
          sconscript *.json *.expected AUTHORS LICENSE''',
          excludes = antglob.default_excludes + 'scons.py sconsign.py scons-*',
          prune_dirs = prune_dirs)
      for path in win_sources:
          fixeol.fix_source_eol(path, is_dry_run = False, verbose = True, eol = '\r\n')
      for path in unix_sources:
          fixeol.fix_source_eol(path, is_dry_run = False, verbose = True, eol = '\n')
function_tokens: def fix_sources_eol ( dist_dir ) : print ( 'Preparing exported source file EOL for distribution...' ) prune_dirs = antglob . prune_dirs + 'scons-local* ./build* ./libs ./dist' win_sources = antglob . glob ( dist_dir , includes = '**/*.sln **/*.vcproj' , prune_dirs = prune_dirs ) unix_sources = antglob . glob ( dist_dir , includes = '''**/*.h **/*.cpp **/*.inl **/*.txt **/*.dox **/*.py **/*.html **/*.in
          sconscript *.json *.expected AUTHORS LICENSE''' , excludes = antglob . default_excludes + 'scons.py sconsign.py scons-*' , prune_dirs = prune_dirs ) for path in win_sources : fixeol . fix_source_eol ( path , is_dry_run = False , verbose = True , eol = '\r\n' ) for path in unix_sources : fixeol . fix_source_eol ( path , is_dry_run = False , verbose = True , eol = '\n' )