code: def setup_chmod(setup_fpath, setup_dir, chmod_patterns):
      
      #st_mode = os.stat(setup_fpath).st_mode
      st_mode = 33277
      for pattern in chmod_patterns:
          for fpath in util_path.glob(setup_dir, pattern, recursive=True):
              print('[setup] chmod fpath=%r' % fpath)
              os.chmod(fpath, st_mode)
docs: Gives files matching pattern the same chmod flags as setup.py