• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[metadata]
2name = Mako
3version = attr: mako.__version__
4description = A super-fast templating language that borrows the best ideas from the existing templating languages.
5long_description = file: README.rst
6long_description_content_type = text/x-rst
7url = https://www.makotemplates.org/
8author = Mike Bayer
9author_email = mike@zzzcomputing.com
10license = MIT
11license_files = LICENSE
12classifiers =
13    Development Status :: 5 - Production/Stable
14    License :: OSI Approved :: MIT License
15    Environment :: Web Environment
16    Intended Audience :: Developers
17    Programming Language :: Python
18    Programming Language :: Python :: 3
19    Programming Language :: Python :: 3.8
20    Programming Language :: Python :: 3.9
21    Programming Language :: Python :: 3.10
22    Programming Language :: Python :: 3.11
23    Programming Language :: Python :: 3.12
24    Programming Language :: Python :: Implementation :: CPython
25    Programming Language :: Python :: Implementation :: PyPy
26    Topic :: Internet :: WWW/HTTP :: Dynamic Content
27project_urls =
28    Documentation=https://docs.makotemplates.org
29    Issue Tracker=https://github.com/sqlalchemy/mako
30
31[options]
32packages = find:
33python_requires = >=3.8
34zip_safe = false
35
36install_requires =
37    MarkupSafe >= 0.9.2
38
39[options.packages.find]
40exclude =
41    test*
42    examples*
43
44[options.extras_require]
45testing =
46    pytest
47babel =
48    Babel
49lingua =
50    lingua
51
52[options.entry_points]
53python.templating.engines =
54    mako = mako.ext.turbogears:TGPlugin
55
56pygments.lexers =
57    mako = mako.ext.pygmentplugin:MakoLexer
58    html+mako = mako.ext.pygmentplugin:MakoHtmlLexer
59    xml+mako = mako.ext.pygmentplugin:MakoXmlLexer
60    js+mako = mako.ext.pygmentplugin:MakoJavascriptLexer
61    css+mako = mako.ext.pygmentplugin:MakoCssLexer
62
63babel.extractors =
64    mako = mako.ext.babelplugin:extract [babel]
65
66lingua.extractors=
67    mako = mako.ext.linguaplugin:LinguaMakoExtractor [lingua]
68
69console_scripts=
70    mako-render = mako.cmd:cmdline
71
72[egg_info]
73tag_build = dev
74
75[tool:pytest]
76addopts= --tb native -v -r fxX -p warnings
77python_files=test/*test_*.py
78python_classes=*Test Test*
79filterwarnings =
80    error::DeprecationWarning:test
81    error::DeprecationWarning:mako
82
83[upload]
84sign = 1
85identity = 4BFDF51E
86
87[flake8]
88show-source = true
89enable-extensions = G
90# E203 is due to https://github.com/PyCQA/pycodestyle/issues/373
91ignore =
92    A003,
93    D,
94    E203,E305,E711,E712,E721,E722,E741,
95    N801,N802,N806,
96    RST304,RST303,RST299,RST399,
97    W503,W504
98exclude = .venv,.git,.tox,dist,docs/*,*egg,build
99import-order-style = google
100application-import-names = mako,test
101
102[mako_testing]
103module_base = ./test/templates/modules
104template_base = ./test/templates/
105