forked from K-Phoen/python-fitparse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (21 loc) · 717 Bytes
/
setup.py
File metadata and controls
25 lines (21 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from distutils.core import setup
import os.path
import sys
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
# Get __version__ from fitparse.version without importing
with open(os.path.join('fitparse', 'version.py')) as f:
exec(f.read())
setup(
name='fitparse',
version=__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,
)