from setuptools import setup, find_packages
import sys
import versioneer

project_name = 'h5it'

# Versioneer allows us to automatically generate versioning from
# our git tagging system which makes releases simpler.
versioneer.VCS = 'git'
versioneer.versionfile_source = '{}/_version.py'.format(project_name)
versioneer.versionfile_build = '{}/_version.py'.format(project_name)
versioneer.tag_prefix = 'v'  # tags are like v1.2.0
versioneer.parentdir_prefix = project_name + '-'  # dirname like 'menpo-v1.2.0'


requirements = ['numpy==1.9.0',
                'h5py==2.3.1']

if sys.version_info.major == 2:
    requirements.extend(['pathlib==1.0',
                         'mock==1.0.1'])

setup(name=project_name,
      version=versioneer.get_version(),
      cmdclass=versioneer.get_cmdclass(),
      description='Pickle anything to HDF5',
      author='James Booth',
      author_email='james.booth08@imperial.ac.uk',
      packages=find_packages(),
      install_requires=requirements)

from setuptools import setup, find_packages
import sys
import versioneer

project_name = 'h5it'

# Versioneer allows us to automatically generate versioning from
# our git tagging system which makes releases simpler.
versioneer.VCS = 'git'
versioneer.versionfile_source = '{}/_version.py'.format(project_name)
versioneer.versionfile_build = '{}/_version.py'.format(project_name)
versioneer.tag_prefix = 'v'  # tags are like v1.2.0
versioneer.parentdir_prefix = project_name + '-'  # dirname like 'menpo-v1.2.0'


requirements = ['numpy==1.9.0',
                'h5py==2.3.1']

if sys.version_info.major == 2:
    requirements.extend(['pathlib==1.0',
                         'mock==1.0.1'])

setup(name=project_name,
      version=versioneer.get_version(),
      cmdclass=versioneer.get_cmdclass(),
      description='Pickle anything to HDF5',
      author='James Booth',
      author_email='james.booth08@imperial.ac.uk',
      packages=find_packages(),
      package_data={'h5it': ['test/files/*']},
      install_requires=requirements)

save test pickle files