[5ec3a0b] | 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.txt')) as f: |
---|
| 7 | README = f.read() |
---|
| 8 | with open(os.path.join(here, 'CHANGES.txt')) 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 | 'transaction', |
---|
| 20 | 'ZODB3', |
---|
| 21 | 'waitress', |
---|
| 22 | 'repoze.folder', |
---|
[d4cabcc] | 23 | 'repoze.catalog @ git+https://github.com/WuShell/repoze.catalog.git@0.8.4' |
---|
| 24 | '#egg=repoze.catalog-0.8.4', |
---|
[5ec3a0b] | 25 | 'bcrypt', |
---|
| 26 | 'FormEncode', |
---|
| 27 | 'pyramid_simpleform==0.7dev0', # version needed for python3 |
---|
| 28 | 'unidecode', |
---|
| 29 | 'gpxpy', |
---|
[31adfa5] | 30 | 'lxml', |
---|
[53bb3e5] | 31 | 'pytz', |
---|
[d6f8304] | 32 | 'fitparse', |
---|
| 33 | 'splinter' |
---|
[5ec3a0b] | 34 | ] |
---|
| 35 | |
---|
| 36 | tests_require = [ |
---|
| 37 | 'WebTest >= 1.3.1', # py3 compat |
---|
| 38 | 'pytest', |
---|
| 39 | 'pytest-cov', |
---|
| 40 | 'pytest-flakes', |
---|
| 41 | 'pytest-xdist', |
---|
| 42 | 'pytest-codestyle', |
---|
| 43 | ] |
---|
| 44 | |
---|
| 45 | setup( |
---|
| 46 | name='ow', |
---|
| 47 | version='0.1', |
---|
| 48 | description='OpenWorkouts, tracking your workouts openly', |
---|
| 49 | long_description=README + '\n\n' + CHANGES, |
---|
| 50 | classifiers=[ |
---|
| 51 | 'Programming Language :: Python', |
---|
| 52 | 'Framework :: Pyramid', |
---|
| 53 | 'Topic :: Internet :: WWW/HTTP', |
---|
| 54 | 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', |
---|
| 55 | ], |
---|
| 56 | author='Francisco de Borja Lopez Rio', |
---|
| 57 | author_email='borja@codigo23.net', |
---|
| 58 | url='https://openworkouts.org', |
---|
| 59 | keywords='web pyramid pylons', |
---|
| 60 | packages=find_packages(), |
---|
| 61 | include_package_data=True, |
---|
| 62 | zip_safe=False, |
---|
| 63 | extras_require={ |
---|
| 64 | 'testing': tests_require, |
---|
| 65 | }, |
---|
| 66 | install_requires=requires, |
---|
| 67 | entry_points={ |
---|
| 68 | 'paste.app_factory': [ |
---|
| 69 | 'main = ow:main', |
---|
| 70 | ], |
---|
| 71 | }, |
---|
| 72 | ) |
---|