forked from dtcooper/python-fitparse
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
27 lines (22 loc) · 771 Bytes
/
setup.py
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
26
27
# -*- coding: utf-8 -*-
import re
import sys
from distutils.core import setup
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
with open('fitparse/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='[email protected], [email protected]',
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,
)