-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
128 lines (110 loc) · 3.76 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
from __future__ import absolute_import
#from setuptools import setup, find_packages
from distutils.core import setup
import setuptools
import re
def readme():
with open('README.rst') as f:
return f.read()
setup(name='rowingdata',
version=re.search(
'^__version__\s*=\s*"(.*)"',
open('rowingdata/rowingdata.py').read(),
re.M
).group(1),
classifiers = [
"Programming Language :: Python :: 3",
],
# python_requires='>=3.4',
description='The rowingdata library to create colorful plots from CrewNerd, Painsled and other rowing data tools',
long_description=readme(),
url='',
author='Sander Roosendaal',
author_email='[email protected]',
license='MIT',
packages=['rowingdata'],
#packages=find_packages(),
keywords='rowing ergometer concept2',
install_requires=[
'Cython',
'numpy',
'scipy',
'matplotlib',
'pandas',
'fitparse',
# 'fitparse',
'arrow>=1.0.2',
# 'mechanize',
'python-dateutil',
'docopt',
'tqdm',
'rowingphysics>=0.2.3',
'iso8601',
'lxml',
'xmltodict',
'nose_parameterized',
'timezonefinder',
'pycairo',
'tk','requests'
],
zip_safe=False,
include_package_data=True,
# relative to the rowingdata directory
package_data={
'testdata':[
'crewnerddata.CSV',
'crewnerddata.tcx',
'example.csv',
'painsled_desktop_example.csv',
'RP_testdata.csv',
'SpeedCoach2example.csv',
'testdata.csv'
],
'bin':[
'testdata.csv',
'crewnerddata.csv',
'crewnerddata.tcx',
],
'rigging':[
'1x.txt',
'2x.txt',
'4x-.txt',
'4-.txt',
'4+.txt',
'2-.txt',
'8+.txt'
]
},
# entry_points={
# "console_scripts": [
# 'rowingdata=rowingdata.rowingdata:main',
# 'painsledtoc2=rowingdata.painsledtoc2:main',
# 'painsledplot=rowingdata.painsledplot:main',
# 'crewnerdplot=rowingdata.crewnerdplot:main',
# 'tcxtoc2=rowingdata.tcxtoc2:main',
# 'painsled_desktop_toc2=rowingdata.painsled_desktop_toc2:main',
# 'painsledplottime=rowingdata.painsledplottime:main',
# 'painsled_desktop_plottime=rowingdata.painsled_desktop_plottime:main',
# 'crewnerdplottime=rowingdata.crewnerdplottime:main',
# 'roweredit=rowingdata.roweredit:main',
# 'copystats=rowingdata.copystats:main',
# 'tcxplot=rowingdata.tcxplot:main',
# 'tcxplottime=rowingdata.tcxplottime:main',
# 'tcxplot_nogeo=rowingdata.tcxplot_nogeo:main',
# 'tcxplottime_nogeo=rowingdata.tcxplottime_nogeo:main',
# 'speedcoachplot=rowingdata.speedcoachplot:main',
# 'speedcoachplottime=rowingdata.speedcoachplottime:main',
# 'speedcoachtoc2=rowingdata.speedcoachtoc2:main',
# 'rowproplot=rowingdata.rowproplot:main',
# 'ergdataplot=rowingdata.ergdataplot:main',
# 'ergdataplottime=rowingdata.ergdataplottime:main',
# 'ergdatatotcx=rowingdata.ergdatatotcx:main',
# 'ergstickplot=rowingdata.ergstickplot:main',
# 'ergstickplottime=rowingdata.ergstickplottime:main',
# 'ergsticktotcx=rowingdata.ergsticktotcx:main',
# 'windcorrected=rowingdata.windcorrected:main',
# 'boatedit=rowingdata.boatedit:main',
# 'rowproplottime=rowingdata.rowproplottime:main'
# ]
# },
)