from distutils.core import setup
import sys

import fitparse


requires = None
if sys.version_info < (2, 7):
    requires = ['argparse']


setup(
    name='fitparse',
    version=fitparse.__version__,
    description='Python library to parse ANT/Garmin .FIT files',
    author='David Cooper',
    author_email='dave@kupesoft.com',
    url='https://www.github.com/dtcooper/python-fitparse',
    license=open('LICENSE').read(),
    packages=['fitparse'],
    scripts=['scripts/fitdump'],  # Don't include generate_profile.py
    install_requires=requires,
)

from distutils.core import setup
import sys

import fitparse


requires = None
if sys.version_info < (2, 7):
    requires = ['argparse']


setup(
    name='fitparse',
    version=fitparse.__version__,
    description='Python library to parse ANT/Garmin .FIT files',
    author='David Cooper, Kévin Gomez',
    author_email='dave@kupesoft.com, contact@kevingomez.fr',
    url='https://github.com/K-Phoen/python-fitparse',
    license=open('LICENSE').read(),
    packages=['fitparse'],
    scripts=['scripts/fitdump'],  # Don't include generate_profile.py
    install_requires=requires,
)

Fix setup.py information