source: OpenWorkouts-current/setup.py @ 0398a0c

currentfeature/docs
Last change on this file since 0398a0c was 0398a0c, checked in by Borja Lopez <borja@…>, 5 years ago

(#72) Created docs infraestructure, using sphinx and rst

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[5ec3a0b]1import os
2
3from setuptools import setup, find_packages
4
5here = os.path.abspath(os.path.dirname(__file__))
[4d22068]6with open(os.path.join(here, 'README.rst')) as f:
[5ec3a0b]7    README = f.read()
[4d22068]8with open(os.path.join(here, 'CHANGES.rst')) as f:
[5ec3a0b]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',
[76ebb1b]19    'pyramid_simpleform==0.7dev0',  # version needed for python3
20    'pyramid_mailer',
[5ec3a0b]21    'transaction',
22    'ZODB3',
23    'waitress',
24    'repoze.folder',
[42d775c]25    'repoze.sendmail @ git+https://github.com/WuShell/repoze.sendmail.git@4.4.2'
26    '#egg=repoze.sendmail-4.4.2',
[d4cabcc]27    'repoze.catalog @ git+https://github.com/WuShell/repoze.catalog.git@0.8.4'
28    '#egg=repoze.catalog-0.8.4',
[5ec3a0b]29    'bcrypt',
30    'FormEncode',
31    'unidecode',
32    'gpxpy',
[31adfa5]33    'lxml',
[53bb3e5]34    'pytz',
[d6f8304]35    'fitparse',
[f0e64eb]36    'splinter',
[1829fbf]37    'Pillow',
38    'premailer'
[5ec3a0b]39]
40
[0398a0c]41docs_require = [
42    'sphinx'
43]
44
[d411dae]45translations_require = [
46    'babel',
47    'lingua'
48]
49
[5ec3a0b]50tests_require = [
51    'WebTest >= 1.3.1',  # py3 compat
52    'pytest',
53    'pytest-cov',
54    'pytest-flakes',
55    'pytest-xdist',
[0398a0c]56    'pytest-codestyle'
[5ec3a0b]57]
58
59setup(
60    name='ow',
[ecfed69]61    version='0.2.0',
[5ec3a0b]62    description='OpenWorkouts, tracking your workouts openly',
63    long_description=README + '\n\n' + CHANGES,
64    classifiers=[
65        'Programming Language :: Python',
66        'Framework :: Pyramid',
67        'Topic :: Internet :: WWW/HTTP',
68        'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
69    ],
70    author='Francisco de Borja Lopez Rio',
71    author_email='borja@codigo23.net',
72    url='https://openworkouts.org',
73    keywords='web pyramid pylons',
74    packages=find_packages(),
75    include_package_data=True,
76    zip_safe=False,
77    extras_require={
78        'testing': tests_require,
[d411dae]79        'translations': translations_require,
[0398a0c]80        'docs': docs_require
[5ec3a0b]81    },
82    install_requires=requires,
83    entry_points={
84        'paste.app_factory': [
85            'main = ow:main',
86        ],
87    },
88)
Note: See TracBrowser for help on using the repository browser.