-
-
Notifications
You must be signed in to change notification settings - Fork 72
Move some metadata from setup.cfg to pyproject.toml #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
d66d8e4
1cbfe61
1ef7ade
c52e72a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,66 @@ | |
| build-backend = 'setuptools.build_meta' | ||
| requires = ['setuptools >= 47', 'wheel'] | ||
|
|
||
| [project] | ||
| name = "Mako" | ||
| version = "1.3.11" | ||
| description = "A super-fast templating language that borrows the best ideas from the existing templating languages." | ||
| readme = "README.rst" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Federico Caselli (CaselIT) wrote: I think we should specify the license file. View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102 |
||
| license = "MIT" | ||
| license-files = [ "LICENSE" ] | ||
| authors = [ | ||
| { name = "Mike Bayer", email = "mike@zzzcomputing.com" } | ||
| ] | ||
| keywords = ["templating", "templates", "python"] | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Intended Audience :: Developers", | ||
| "Programming Language :: Python", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.8", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Michael Bayer (zzzeek) wrote: py3.10 View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Michael Bayer (zzzeek) wrote: Done View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102 |
||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Topic :: Internet :: WWW/HTTP :: Dynamic Content", | ||
| "Topic :: Software Development :: Libraries :: Python Modules", | ||
| "Topic :: Text Processing :: Markup" | ||
| ] | ||
| requires-python = ">=3.8" | ||
| dependencies = [ | ||
| "MarkupSafe>=0.9.2" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Michael Bayer (zzzeek) wrote: 2.0 View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Michael Bayer (zzzeek) wrote: Done View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102 |
||
| ] | ||
|
|
||
| [project.urls] | ||
| Homepage = "https://www.makotemplates.org/" | ||
| Source = "https://github.com/sqlalchemy/mako" | ||
|
|
||
|
cocolato marked this conversation as resolved.
|
||
| [project.scripts] | ||
| mako-render = "mako.cmd:cmdline" | ||
|
|
||
| [project.entry-points."python.templating.engines"] | ||
| mako = "mako.ext.turbogears:TGPlugin" | ||
|
|
||
| [project.entry-points."pygments.lexers"] | ||
| mako = "mako.ext.pygmentplugin:MakoLexer" | ||
| html_mako = "mako.ext.pygmentplugin:MakoHtmlLexer" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Michael Bayer (zzzeek) wrote: these are wrong, should be "html+mako", etc View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Michael Bayer (zzzeek) wrote: Done View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102 |
||
| xml_mako = "mako.ext.pygmentplugin:MakoXmlLexer" | ||
| js_mako = "mako.ext.pygmentplugin:MakoJavascriptLexer" | ||
| css_mako = "mako.ext.pygmentplugin:MakoCssLexer" | ||
|
|
||
| [project.entry-points."babel.extractors"] | ||
| mako = "mako.ext.babelplugin:extract" | ||
|
|
||
| [project.entry-points."lingua.extractors"] | ||
| mako = "mako.ext.linguaplugin:LinguaMakoExtractor" | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| where = ["."] | ||
| exclude = [ | ||
| "test*", | ||
| "examples*" | ||
| ] | ||
|
|
||
| [tool.black] | ||
| line-length = 79 | ||
| target-version = ['py38'] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Federico Caselli (CaselIT) wrote:
this should be dynamic, since before it was
attr: mako.__version__See https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/6102