-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
45 lines (38 loc) · 1.27 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup
import io
import nikeplusapi
# Take from Jeff Knupp's excellent article:
# http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
setup(name='nikeplusapi',
version=nikeplusapi.__version__,
description='Export nikeplus data to CSV format',
long_description=read('README.md'),
package_data={'': ['README.md']},
license='MIT',
author='Luke Lee',
author_email='durdenmisc@gmail.com',
url='https://github.com/durden/nikeplus',
packages=['nikeplusapi'],
platforms='any',
classifiers= [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: System :: Archiving'],
entry_points={
"console_scripts": [
"nikeplusapi = nikeplusapi.export:main",
]
},
)