source: OpenWorkouts-current/setup.py @ 1829fbf

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

(#61) Several fixes for the multipart/alternative (text+html) version of the verify
your account email:

  • Use premailer [1] to embed all styles into the body of the html part of the email (ensuring the styles are rendered correctly in most email clients)
  • Fixed some styles (RGB colors, transparencies, etc don't work in mail clients)
  • Ensure the different bodies (text and html) have the proper content type and charset set.

[1] https://pypi.org/project/premailer

  • Property mode set to 100644
File size: 1.9 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.rst')) as f:
7    README = f.read()
8with open(os.path.join(here, 'CHANGES.rst')) 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    '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]
40
41tests_require = [
42    'WebTest >= 1.3.1',  # py3 compat
43    'pytest',
44    'pytest-cov',
45    'pytest-flakes',
46    'pytest-xdist',
47    'pytest-codestyle',
48]
49
50setup(
51    name='ow',
52    version='0.2.0a0',
53    description='OpenWorkouts, tracking your workouts openly',
54    long_description=README + '\n\n' + CHANGES,
55    classifiers=[
56        'Programming Language :: Python',
57        'Framework :: Pyramid',
58        'Topic :: Internet :: WWW/HTTP',
59        'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
60    ],
61    author='Francisco de Borja Lopez Rio',
62    author_email='borja@codigo23.net',
63    url='https://openworkouts.org',
64    keywords='web pyramid pylons',
65    packages=find_packages(),
66    include_package_data=True,
67    zip_safe=False,
68    extras_require={
69        'testing': tests_require,
70    },
71    install_requires=requires,
72    entry_points={
73        'paste.app_factory': [
74            'main = ow:main',
75        ],
76    },
77)
Note: See TracBrowser for help on using the repository browser.