summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 09d84fd3572fe8b2626ca94b8dbd5e2347c648ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[metadata]
name = Mako
version = attr: mako.__version__
description = A super-fast templating language that borrows the best ideas from the existing templating languages.
long_description = file: README.rst
long_description_content_type = text/x-rst
url = https://www.makotemplates.org/
author = Mike Bayer
author_email = mike@zzzcomputing.com
license = MIT
license_files = LICENSE
classifiers =
    Development Status :: 5 - Production/Stable
    License :: OSI Approved :: MIT License
    Environment :: Web Environment
    Intended Audience :: Developers
    Programming Language :: Python
    Programming Language :: Python :: 3
    Programming Language :: Python :: 3.7
    Programming Language :: Python :: 3.8
    Programming Language :: Python :: 3.9
    Programming Language :: Python :: 3.10
    Programming Language :: Python :: Implementation :: CPython
    Programming Language :: Python :: Implementation :: PyPy
    Topic :: Internet :: WWW/HTTP :: Dynamic Content
project_urls =
    Documentation=https://docs.makotemplates.org
    Issue Tracker=https://github.com/sqlalchemy/mako

[options]
packages = find:
python_requires = >=3.7
zip_safe = false

install_requires =
    MarkupSafe >= 0.9.2
    importlib-metadata;python_version<"3.8"

[options.packages.find]
exclude =
    test*
    examples*

[options.extras_require]
testing =
    pytest
babel =
    Babel
lingua =
    lingua

[options.entry_points]
python.templating.engines =
    mako = mako.ext.turbogears:TGPlugin

pygments.lexers =
    mako = mako.ext.pygmentplugin:MakoLexer
    html+mako = mako.ext.pygmentplugin:MakoHtmlLexer
    xml+mako = mako.ext.pygmentplugin:MakoXmlLexer
    js+mako = mako.ext.pygmentplugin:MakoJavascriptLexer
    css+mako = mako.ext.pygmentplugin:MakoCssLexer

babel.extractors =
    mako = mako.ext.babelplugin:extract [babel]

lingua.extractors=
    mako = mako.ext.linguaplugin:LinguaMakoExtractor [lingua]

console_scripts=
    mako-render = mako.cmd:cmdline

[egg_info]
tag_build = dev

[tool:pytest]
addopts= --tb native -v -r fxX -p warnings
python_files=test/*test_*.py
python_classes=*Test Test*
filterwarnings =
    error::DeprecationWarning:test
    error::DeprecationWarning:mako

[upload]
sign = 1
identity = 4BFDF51E

[flake8]
show-source = true
enable-extensions = G
# E203 is due to https://github.com/PyCQA/pycodestyle/issues/373
ignore =
    A003,
    D,
    E203,E305,E711,E712,E721,E722,E741,
    N801,N802,N806,
    RST304,RST303,RST299,RST399,
    W503,W504
exclude = .venv,.git,.tox,dist,docs/*,*egg,build
import-order-style = google
application-import-names = mako,test

[mako_testing]
module_base = ./test/templates/modules
template_base = ./test/templates/