source: OpenWorkouts-current/setup.py @ 53bb3e5

currentfeature/docs
Last change on this file since 53bb3e5 was 53bb3e5, checked in by borja <borja@…>, 5 years ago

(#13) - fit files parsing + (#26) - generate .gpx from .fit

  • Added fitparse as a new dependency IMPORTANT: please install it in your existing envs:

pip install python-fitparse

  • Added new attribute to workouts to store attached fit files as Blob objects. IMPORTANT: please update any workouts you have in your db, adding the fit_file attribute to them (None by default)
  • Added new module with the code needed to interact with .fit files (parse, gather data, transform to gpx)
  • Added code to "load" a workout from a fit file
  • Added tools and helpers to transform values (meters->kilometers, meters-per-second->kms-per-hour, semicircles-to-degrees, etc)
  • Refactored some imports
  • Property mode set to 100644
File size: 1.7 KB
Line 
1import os
2
3from setuptools import setup, find_packages
4
5here = os.path.abspath(os.path.dirname(__file__))
6with open(os.path.join(here, 'README.txt')) as f:
7    README = f.read()
8with open(os.path.join(here, 'CHANGES.txt')) as f:
9    CHANGES = f.read()
10
11requires = [
12    'plaster_pastedeploy',
13    'pyramid',
14    'pyramid_chameleon',
15    'pyramid_debugtoolbar',
16    'pyramid_retry',
17    'pyramid_tm',
18    'pyramid_zodbconn',
19    'transaction',
20    'ZODB3',
21    'waitress',
22    'repoze.folder',
23    'repoze.catalog==0.8.4',
24    'bcrypt',
25    'FormEncode',
26    'pyramid_simpleform==0.7dev0',  # version needed for python3
27    'unidecode',
28    'gpxpy',
29    'lxml',
30    'pytz',
31    'fitparse'
32]
33
34tests_require = [
35    'WebTest >= 1.3.1',  # py3 compat
36    'pytest',
37    'pytest-cov',
38    'pytest-flakes',
39    'pytest-xdist',
40    'pytest-codestyle',
41]
42
43dependency_links = [
44    'git+https://github.com/WuShell/repoze.catalog.git@0.8.4'
45    '#egg=repoze.catalog-0.8.4'
46]
47
48setup(
49    name='ow',
50    version='0.1',
51    description='OpenWorkouts, tracking your workouts openly',
52    long_description=README + '\n\n' + CHANGES,
53    classifiers=[
54        'Programming Language :: Python',
55        'Framework :: Pyramid',
56        'Topic :: Internet :: WWW/HTTP',
57        'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
58    ],
59    author='Francisco de Borja Lopez Rio',
60    author_email='borja@codigo23.net',
61    url='https://openworkouts.org',
62    keywords='web pyramid pylons',
63    packages=find_packages(),
64    include_package_data=True,
65    zip_safe=False,
66    dependency_links=dependency_links,
67    extras_require={
68        'testing': tests_require,
69    },
70    install_requires=requires,
71    entry_points={
72        'paste.app_factory': [
73            'main = ow:main',
74        ],
75    },
76)
Note: See TracBrowser for help on using the repository browser.