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