def write_wcsconfig_h(paths):
 h_file = io.StringIO()
 h_file.write(u"\n    /* The bundled version has WCSLIB_VERSION */\n    #define HAVE_WCSLIB_VERSION 1\n\n    /* WCSLIB library version number. */\n    #define WCSLIB_VERSION {0}\n\n    /* 64-bit integer data type. */\n    #define WCSLIB_INT64 {1}\n\n    /* Windows needs some other defines to prevent inclusion of wcsset()\n       which conflicts with wcslib's wcsset().  These need to be set\n       on code that *uses* astropy.wcs, in addition to astropy.wcs itself.\n       */\n    #if defined(_WIN32) || defined(_MSC_VER) || defined(__MINGW32__) || defined (__MINGW64__)\n\n    #ifndef YY_NO_UNISTD_H\n    #define YY_NO_UNISTD_H\n    #endif\n\n    #ifndef _CRT_SECURE_NO_WARNINGS\n    #define _CRT_SECURE_NO_WARNINGS\n    #endif\n\n    #ifndef _NO_OLDNAMES\n    #define _NO_OLDNAMES\n    #endif\n\n    #ifndef NO_OLDNAMES\n    #define NO_OLDNAMES\n    #endif\n\n    #ifndef __STDC__\n    #define __STDC__ 1\n    #endif\n\n    #endif\n    ".format(WCSVERSION, determine_64_bit_int()))
 content = h_file.getvalue().encode(u'ascii')
 for path in paths:
  setup_helpers.write_if_different(path, content)

def write_wcsconfig_h ( paths ) : h_file = io . StringIO ( ) h_file . write ( u"\n    /* The bundled version has WCSLIB_VERSION */\n    #define HAVE_WCSLIB_VERSION 1\n\n    /* WCSLIB library version number. */\n    #define WCSLIB_VERSION {0}\n\n    /* 64-bit integer data type. */\n    #define WCSLIB_INT64 {1}\n\n    /* Windows needs some other defines to prevent inclusion of wcsset()\n       which conflicts with wcslib's wcsset().  These need to be set\n       on code that *uses* astropy.wcs, in addition to astropy.wcs itself.\n       */\n    #if defined(_WIN32) || defined(_MSC_VER) || defined(__MINGW32__) || defined (__MINGW64__)\n\n    #ifndef YY_NO_UNISTD_H\n    #define YY_NO_UNISTD_H\n    #endif\n\n    #ifndef _CRT_SECURE_NO_WARNINGS\n    #define _CRT_SECURE_NO_WARNINGS\n    #endif\n\n    #ifndef _NO_OLDNAMES\n    #define _NO_OLDNAMES\n    #endif\n\n    #ifndef NO_OLDNAMES\n    #define NO_OLDNAMES\n    #endif\n\n    #ifndef __STDC__\n    #define __STDC__ 1\n    #endif\n\n    #endif\n    " . format ( WCSVERSION , determine_64_bit_int ( ) ) ) content = h_file . getvalue ( ) . encode ( u'ascii' ) for path in paths : setup_helpers . write_if_different ( path , content )
writes out the wcsconfig .