forked from orcasgit/python-fitbit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (35 loc) · 1.13 KB
/
setup.py
File metadata and controls
39 lines (35 loc) · 1.13 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
required = ['requests==0.14.0', 'python-dateutil==1.5']
fbinit = open('fitbit/__init__.py').read()
author = re.search("__author__ = '([^']+)'", fbinit).group(1)
version = re.search("__version__ = '([^']+)'", fbinit).group(1)
setup(
name='fitbit',
version=version,
description='Fitbit API Wrapper.',
long_description=open('README.rst').read(),
author=author,
author_email='issac@kellycreativetech.com',
url='https://github.com/issackelly/python-fitbit',
packages=['fitbit'],
package_data={'': ['LICENSE']},
include_package_data=True,
install_requires=required,
license='Apache 2.0',
test_suite='tests.all_tests',
tests_require=['mock==0.8.0'],
classifiers=(
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache 2.0',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)