<commit_before>import sys

if sys.hexversion < 0x2070000:
    raise NotImplementedError('Python < 2.7 not supported.')

import ez_setup
ez_setup.use_setuptools()

from setuptools import setup

with open('README.rst') as file:
    long_description = file.read()

setup(name='hdf5storage',
      version='0.2',
      description='Utilities to read/write Python types to/from HDF5 files, including MATLAB v7.3 MAT files.',
      long_description=long_description,
      author='<NAME>',
      author_email='<EMAIL>',
      url='https://github.com/frejanordsiek/hdf5storage',
      packages=['hdf5storage'],
      install_requires=['setuptools', 'numpy', 'h5py>=2.3'],
      tests_require=['nose>=1.0'],
      test_suite='nose.collector',
      license='BSD',
      keywords='hdf5 matlab',
      zip_safe=True,
      classifiers=[
          "Programming Language :: Python :: 2.7",
          "Programming Language :: Python :: 3",
          "Development Status :: 3 - Alpha",
          "License :: OSI Approved :: BSD License",
          "Operating System :: OS Independent",
          "Intended Audience :: Developers",
          "Intended Audience :: Information Technology",
          "Intended Audience :: Science/Research",
          "Topic :: Scientific/Engineering",
          "Topic :: Database",
          "Topic :: Software Development :: Libraries :: Python Modules"
          ]
      )<commit_msg>Updated requirements list in setup.py to better elliminate versions of numpy and h5py incompatible with older versions of python.<commit_after>import sys

if sys.hexversion < 0x2070000:
    raise NotImplementedError('Python < 2.7 not supported.')

import ez_setup
ez_setup.use_setuptools()

from setuptools import setup

with open('README.rst') as file:
    long_description = file.read()

setup(name='hdf5storage',
      version='0.2',
      description='Utilities to read/write Python types to/from HDF5 files, including MATLAB v7.3 MAT files.',
      long_description=long_description,
      author='<NAME>',
      author_email='<EMAIL>',
      url='https://github.com/frejanordsiek/hdf5storage',
      packages=['hdf5storage'],
      install_requires=["setuptools",
                        "numpy<1.6.0 ; python_version == '3.0'",
                        "numpy<1.8.0 ; python_version == '3.1'",
                        "numpy<1.12.0 ; python_version == '3.2'",
                        "numpy<1.12.0 ; python_version == '3.3'",
                        "numpy ; python_version == '2.7'",
                        "numpy ; python_version >= '3.4'",
                        "h5py>=2.3,<2.4 ; python_version == '3.0'",
                        "h5py>=2.3,<2.7 ; python_version == '3.1'",
                        "h5py>=2.3,<2.7 ; python_version == '3.2'",
                        "h5py>=2.3 ; python_version == '2.7'",
                        "h5py>=2.3 ; python_version >= '3.3'"],
      tests_require=['nose>=1.0'],
      test_suite='nose.collector',
      license='BSD',
      keywords='hdf5 matlab',
      zip_safe=True,
      classifiers=[
          "Programming Language :: Python :: 2.7",
          "Programming Language :: Python :: 3",
          "Development Status :: 3 - Alpha",
          "License :: OSI Approved :: BSD License",
          "Operating System :: OS Independent",
          "Intended Audience :: Developers",
          "Intended Audience :: Information Technology",
          "Intended Audience :: Science/Research",
          "Topic :: Scientific/Engineering",
          "Topic :: Database",
          "Topic :: Software Development :: Libraries :: Python Modules"
          ]
      )
{'fraction_non_alphanumeric': 0.13835085777531822, 'fraction_numerical': 0.030713890426120643, 'mean_word_length': 2.3287292817679557, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1229693', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1056, 'n_words': 237}