1 | import os |
---|
2 | |
---|
3 | from setuptools import setup, find_packages |
---|
4 | |
---|
5 | here = os.path.abspath(os.path.dirname(__file__)) |
---|
6 | with open(os.path.join(here, 'README.rst')) as f: |
---|
7 | README = f.read() |
---|
8 | with open(os.path.join(here, 'CHANGES.rst')) as f: |
---|
9 | CHANGES = f.read() |
---|
10 | |
---|
11 | requires = [ |
---|
12 | 'plaster_pastedeploy', |
---|
13 | 'pyramid', |
---|
14 | 'pyramid_chameleon', |
---|
15 | 'pyramid_debugtoolbar', |
---|
16 | 'pyramid_retry', |
---|
17 | 'pyramid_tm', |
---|
18 | 'pyramid_zodbconn', |
---|
19 | 'pyramid_simpleform==0.7dev0', # version needed for python3 |
---|
20 | 'pyramid_mailer', |
---|
21 | 'transaction', |
---|
22 | 'ZODB3', |
---|
23 | 'waitress', |
---|
24 | 'repoze.folder', |
---|
25 | 'repoze.sendmail @ git+https://github.com/WuShell/repoze.sendmail.git@4.4.2' |
---|
26 | '#egg=repoze.sendmail-4.4.2', |
---|
27 | 'repoze.catalog @ git+https://github.com/WuShell/repoze.catalog.git@0.8.4' |
---|
28 | '#egg=repoze.catalog-0.8.4', |
---|
29 | 'bcrypt', |
---|
30 | 'FormEncode', |
---|
31 | 'unidecode', |
---|
32 | 'gpxpy', |
---|
33 | 'lxml', |
---|
34 | 'pytz', |
---|
35 | 'fitparse', |
---|
36 | 'splinter', |
---|
37 | 'Pillow', |
---|
38 | 'premailer', |
---|
39 | 'uwsgi' |
---|
40 | ] |
---|
41 | |
---|
42 | docs_require = [ |
---|
43 | 'sphinx' |
---|
44 | ] |
---|
45 | |
---|
46 | translations_require = [ |
---|
47 | 'babel', |
---|
48 | 'lingua' |
---|
49 | ] |
---|
50 | |
---|
51 | tests_require = [ |
---|
52 | 'WebTest >= 1.3.1', # py3 compat |
---|
53 | 'pytest', |
---|
54 | 'pytest-cov', |
---|
55 | 'pytest-flakes', |
---|
56 | 'pytest-xdist', |
---|
57 | 'pytest-codestyle' |
---|
58 | ] |
---|
59 | |
---|
60 | setup( |
---|
61 | name='ow', |
---|
62 | version='0.2.0', |
---|
63 | description='OpenWorkouts, tracking your workouts openly', |
---|
64 | long_description=README + '\n\n' + CHANGES, |
---|
65 | classifiers=[ |
---|
66 | 'Programming Language :: Python', |
---|
67 | 'Framework :: Pyramid', |
---|
68 | 'Topic :: Internet :: WWW/HTTP', |
---|
69 | 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', |
---|
70 | ], |
---|
71 | author='Francisco de Borja Lopez Rio', |
---|
72 | author_email='borja@codigo23.net', |
---|
73 | url='https://openworkouts.org', |
---|
74 | keywords='web pyramid pylons', |
---|
75 | packages=find_packages(), |
---|
76 | include_package_data=True, |
---|
77 | zip_safe=False, |
---|
78 | extras_require={ |
---|
79 | 'testing': tests_require, |
---|
80 | 'translations': translations_require, |
---|
81 | 'docs': docs_require |
---|
82 | }, |
---|
83 | install_requires=requires, |
---|
84 | entry_points={ |
---|
85 | 'paste.app_factory': [ |
---|
86 | 'main = ow:main', |
---|
87 | ], |
---|
88 | }, |
---|
89 | ) |
---|