blob: f643d0188b5d0503ba9354a3d81807bd3e9e007f [file] [log] [blame]
Federico Casellia1d70af2021-09-13 23:09:06 +02001[metadata]
2name = Mako
3version = attr: mako.__version__
Mike Bayer1a30e932021-11-17 10:33:27 -05004description = A super-fast templating language that borrows the best ideas from the existing templating languages.
Federico Casellia1d70af2021-09-13 23:09:06 +02005long_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
Federico Caselli4fbbcf12022-06-27 22:39:41 +020011license_files = LICENSE
Federico Casellia1d70af2021-09-13 23:09:06 +020012classifiers =
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
Federico Casellia1d70af2021-09-13 23:09:06 +020019 Programming Language :: Python :: 3.8
20 Programming Language :: Python :: 3.9
21 Programming Language :: Python :: 3.10
Hugo van Kemenade4bb7bb32023-09-16 17:20:56 -040022 Programming Language :: Python :: 3.11
23 Programming Language :: Python :: 3.12
Federico Casellia1d70af2021-09-13 23:09:06 +020024 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:
Hugo van Kemenade4bb7bb32023-09-16 17:20:56 -040033python_requires = >=3.8
Federico Casellia1d70af2021-09-13 23:09:06 +020034zip_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]
Michael Bourke7e52b602022-01-09 16:38:12 +110045testing =
46 pytest
Federico Casellia1d70af2021-09-13 23:09:06 +020047babel =
48 Babel
Ram Rachum8c4ce942020-06-12 13:42:51 -040049lingua =
Federico Casellia1d70af2021-09-13 23:09:06 +020050 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
Mike Bayer7f4e77d2007-01-05 19:06:16 +000072[egg_info]
Mike Bayerc8140242022-03-10 15:42:33 -050073tag_build = dev
Mike Bayer717c0b62013-03-21 11:50:12 -040074
Marius Bakke20875862019-03-10 18:17:33 +010075[tool:pytest]
Mike Bayer0d680602022-06-29 09:21:31 -040076addopts= --tb native -v -r fxX -p warnings
Mike Bayerc2373ce2014-04-13 13:47:25 -040077python_files=test/*test_*.py
Martin von Gagerndbbaad32022-08-19 23:49:37 -040078python_classes=*Test Test*
Mike Bayer0d680602022-06-29 09:21:31 -040079filterwarnings =
80 error::DeprecationWarning:test
81 error::DeprecationWarning:mako
Mike Bayerc2373ce2014-04-13 13:47:25 -040082
Mike Bayer717c0b62013-03-21 11:50:12 -040083[upload]
84sign = 1
Michael Bourke7a3da002022-01-27 13:47:05 +110085identity = 4BFDF51E
Mike Bayerfb7f0432019-05-29 18:18:04 -040086
87[flake8]
Mike Bayer338cad62019-07-27 12:01:10 -040088show-source = true
Mike Bayerfb7f0432019-05-29 18:18:04 -040089enable-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
Michael Bourke7e52b602022-01-09 16:38:12 +1100101
102[mako_testing]
103module_base = ./test/templates/modules
104template_base = ./test/templates/