<commit_before>[metadata]
name = pyfits
version = 3.2.dev
author = <NAME>, <NAME>, <NAME>, <NAME>,
 <NAME>, <NAME>
author-email = <EMAIL>
summary = Reads FITS images and tables into numpy arrays and manipulates
 FITS headers
description-file =
    README.txt
    CHANGES.txt
home-page = http://www.stsci.edu/resources/software_hardware/pyfits 
classifier =
    Intended Audience :: Science/Research
    License :: OSI Approved :: BSD License
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 3
    Topic :: Scientific/Engineering :: Astronomy
    Topic :: Software Development :: Libraries :: Python Modules
requires-python = >=2.5
requires-dist =
    numpy

# TODO: Add support for custom build_ext command that warns when extension
# modules fail to build, rather than errors out.  This might be useful enough
# to include in stsci.distutils.

[files]
packages_root = lib
packages =
    pyfits
    pyfits.hdu
    pyfits.scripts
    pyfits.tests
package_data =
    pyfits.tests = data/*.fits
scripts =
    scripts/fitscheck
    scripts/fitsdiff

[extension=pyfits.compression]
sources = 
    src/compress.c
    src/fits_hcompress.c
    src/fits_hdecompress.c
    src/fitsio.c
    src/pliocomp.c
    src/compressionmodule.c
    src/quantize.c
    src/ricecomp.c
    src/zlib.c
    src/inffast.c
    src/inftrees.c
    src/trees.c
include_dirs = numpy
# Squelch a handful of warnings (which actually cause pip to break in tox and
# other environments due to gcc outputting non-ASCII characters in some
# terminals; see python issue6135)
extra_compile_args =
    -Wno-unused-function
    -Wno-strict-prototypes
optional = True
fail_message =
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Failed to build PyFITS tile compression support.  PyFITS will still
    function, but without the ability to read or write compressed images.
    Please seek support from <EMAIL> if you need this capability.
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[global]
setup-hooks =
    stsci.distutils.hooks.tag_svn_revision
    stsci.distutils.hooks.version_setup_hook
commands = stsci.distutils.command.build_optional_ext.build_optional_ext

[build_ext]
pre-hook.numpy-extension-hook = stsci.distutils.hooks.numpy_extension_hook

[upload_docs]
upload-dir = build/sphinx/html
<commit_msg>Oops, I don't know what I was thinking when I set this default<commit_after>[metadata]
name = pyfits
version = 3.2.dev
author = <NAME>, <NAME>, <NAME>, <NAME>,
 <NAME>, <NAME>
author-email = <EMAIL>
summary = Reads FITS images and tables into numpy arrays and manipulates
 FITS headers
description-file =
    README.txt
    CHANGES.txt
home-page = http://www.stsci.edu/resources/software_hardware/pyfits 
classifier =
    Intended Audience :: Science/Research
    License :: OSI Approved :: BSD License
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 3
    Topic :: Scientific/Engineering :: Astronomy
    Topic :: Software Development :: Libraries :: Python Modules
requires-python = >=2.5
requires-dist =
    numpy

# TODO: Add support for custom build_ext command that warns when extension
# modules fail to build, rather than errors out.  This might be useful enough
# to include in stsci.distutils.

[files]
packages_root = lib
packages =
    pyfits
    pyfits.hdu
    pyfits.scripts
    pyfits.tests
package_data =
    pyfits.tests = data/*.fits
scripts =
    scripts/fitscheck
    scripts/fitsdiff

[extension=pyfits.compression]
sources = 
    src/compress.c
    src/fits_hcompress.c
    src/fits_hdecompress.c
    src/fitsio.c
    src/pliocomp.c
    src/compressionmodule.c
    src/quantize.c
    src/ricecomp.c
    src/zlib.c
    src/inffast.c
    src/inftrees.c
    src/trees.c
include_dirs = numpy
# Squelch a handful of warnings (which actually cause pip to break in tox and
# other environments due to gcc outputting non-ASCII characters in some
# terminals; see python issue6135)
extra_compile_args =
    -Wno-unused-function
    -Wno-strict-prototypes
optional = True
fail_message =
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Failed to build PyFITS tile compression support.  PyFITS will still
    function, but without the ability to read or write compressed images.
    Please seek support from <EMAIL> if you need this capability.
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[global]
setup-hooks =
    stsci.distutils.hooks.tag_svn_revision
    stsci.distutils.hooks.version_setup_hook
commands = stsci.distutils.command.build_optional_ext.build_optional_ext

[build_ext]
pre-hook.numpy-extension-hook = stsci.distutils.hooks.numpy_extension_hook

[upload_docs]
upload-dir = docs/build/html

{'fraction_non_alphanumeric': 0.1345477126888843, 'fraction_numerical': 0.0037259366590767957, 'mean_word_length': 3.827172827172827, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '587788', 'n_tokens_mistral': 1560, 'n_tokens_neox': 1451, 'n_words': 412}