annotate pyproject.toml @ 234:b797e4c0799a

A font style option using Palatino (with Math), Inter and Source Code Pro
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 15 May 2026 22:56:20 +0200
parents b27557f6d393
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 [build-system]
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 requires = ["setuptools>=56.0"]
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3 build-backend = "setuptools.build_meta"
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 [project]
8
5812e7f3bc13 Rename the project the implementing class to "pygments-lexer-pseudocode2".
Franz Glasner <fzglas.hg@dom66.de>
parents: 6
diff changeset
6 name = "pygments-lexer-pseudocode2"
120
ef68b3769be5 Convert/rename README.md to README.rst and enhance it considerably
Franz Glasner <fzglas.hg@dom66.de>
parents: 110
diff changeset
7 description = "Pygments Lexer for Pseudocode"
4
d4f778187170 Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents: 3
diff changeset
8 license = { file = "LICENSES/MIT.txt" }
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
9 authors = [
120
ef68b3769be5 Convert/rename README.md to README.rst and enhance it considerably
Franz Glasner <fzglas.hg@dom66.de>
parents: 110
diff changeset
10 {name = "Franz Glasner", email = "fzglas.hg@dom66.de"},
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
11 {name = "Simon Wachter", email = "simon@wachter.me"},
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
12 ]
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
13 classifiers = [
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14 "Development Status :: 4 - Beta",
10
f4d6cf8e6ea3 Refine the Trove Classifiers
Franz Glasner <fzglas.hg@dom66.de>
parents: 9
diff changeset
15 "Intended Audience :: Developers",
f4d6cf8e6ea3 Refine the Trove Classifiers
Franz Glasner <fzglas.hg@dom66.de>
parents: 9
diff changeset
16 "Intended Audience :: Education",
f4d6cf8e6ea3 Refine the Trove Classifiers
Franz Glasner <fzglas.hg@dom66.de>
parents: 9
diff changeset
17 "Intended Audience :: End Users/Desktop",
f4d6cf8e6ea3 Refine the Trove Classifiers
Franz Glasner <fzglas.hg@dom66.de>
parents: 9
diff changeset
18 "Intended Audience :: Information Technology",
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
19 "License :: OSI Approved :: MIT License",
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
20 "Natural Language :: French",
10
f4d6cf8e6ea3 Refine the Trove Classifiers
Franz Glasner <fzglas.hg@dom66.de>
parents: 9
diff changeset
21 "Operating System :: OS Independent",
f4d6cf8e6ea3 Refine the Trove Classifiers
Franz Glasner <fzglas.hg@dom66.de>
parents: 9
diff changeset
22 "Programming Language :: Python",
f4d6cf8e6ea3 Refine the Trove Classifiers
Franz Glasner <fzglas.hg@dom66.de>
parents: 9
diff changeset
23 "Topic :: Documentation",
f4d6cf8e6ea3 Refine the Trove Classifiers
Franz Glasner <fzglas.hg@dom66.de>
parents: 9
diff changeset
24 "Topic :: Software Development :: Documentation",
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
25 "Topic :: Text Processing",
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
26 "Topic :: Utilities",
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
27 ]
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
28 dependencies = [
67
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 55
diff changeset
29 #
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 55
diff changeset
30 # - Tests need this version for "load_XXX_from_file()"
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 55
diff changeset
31 # - But Sphinx yields errors on Python 2.7 (also with Pygments 2.0.1)
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 55
diff changeset
32 #
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 55
diff changeset
33 "Pygments>=2.2",
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 55
diff changeset
34 # Python 3.8+ and also works with Sphinx
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 55
diff changeset
35 # "Pygments>=2.15",
184
5113d7fbae9e Optimize PDF content.
Franz Glasner <fzglas.hg@dom66.de>
parents: 166
diff changeset
36 "docutils>=0.17",
9
74b95ceeda5f Add myself as author
Franz Glasner <fzglas.hg@dom66.de>
parents: 8
diff changeset
37 ]
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
38 dynamic = [
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
39 "readme",
11
087d67c10039 Make the version a dynamic metadata field
Franz Glasner <fzglas.hg@dom66.de>
parents: 10
diff changeset
40 "version",
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
41 ]
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
42
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
43 [project.urls]
28
de1f67eff9d5 Move the original French pseudocode lexter into a sub-module.
Franz Glasner <fzglas.hg@dom66.de>
parents: 11
diff changeset
44 # The original homepage of the Pseudo code (fr) lexer
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
45 homepage = "https://github.com/svvac/pseudocode-pygments-lexer"
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
46
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
47 [tool.setuptools]
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
48 packages = [
8
5812e7f3bc13 Rename the project the implementing class to "pygments-lexer-pseudocode2".
Franz Glasner <fzglas.hg@dom66.de>
parents: 6
diff changeset
49 "pygments_lexer_pseudocode2",
166
6a7dace0141e Also implement filters to replace tokens in a token stream: TokenReplaceFilter and ErrorToGenericErrorTokenFilter
Franz Glasner <fzglas.hg@dom66.de>
parents: 164
diff changeset
50 "pygments_lexer_pseudocode2.lexers",
6a7dace0141e Also implement filters to replace tokens in a token stream: TokenReplaceFilter and ErrorToGenericErrorTokenFilter
Franz Glasner <fzglas.hg@dom66.de>
parents: 164
diff changeset
51 "pygments_lexer_pseudocode2.filters",
3
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
52 ]
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
53 platforms = ["any"]
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
54 zip-safe = true
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
55 include-package-data = false
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
56
04cc3816d478 Convert the project's build system to use pyproject.toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
57 [tool.setuptools.dynamic]
11
087d67c10039 Make the version a dynamic metadata field
Franz Glasner <fzglas.hg@dom66.de>
parents: 10
diff changeset
58 version = {attr = "pygments_lexer_pseudocode2.__version__"}
120
ef68b3769be5 Convert/rename README.md to README.rst and enhance it considerably
Franz Glasner <fzglas.hg@dom66.de>
parents: 110
diff changeset
59 readme = {file = ["README.rst"], content-type = "text/x-rst"}
185
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
60
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
61 #
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
62 # IMPORTANT:
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
63 # Synchronize lexers and filters with docs/conf.py!
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
64 #
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
65
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
66 [project.entry-points.'pygments.lexers']
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
67 # The key is not significant here
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
68 # The mostly original and somewhat extended Pseudocode lexer (fr)
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
69 fr_pseudocodelexer = "pygments_lexer_pseudocode2.lexers.fr_pseudocode:FrPseudocodeLexer"
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
70 algpseudocodelexer = "pygments_lexer_pseudocode2.lexers.algpseudocode:AlgPseudocodeLexer"
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
71 algpseudocodelexer_de = "pygments_lexer_pseudocode2.lexers.algpseudocode:AlgPseudocodeLexer_DE"
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
72 algpseudocodelexer_fr = "pygments_lexer_pseudocode2.lexers.algpseudocode:AlgPseudocodeLexer_FR"
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
73
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
74 [project.entry-points."pygments.filters"]
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
75 # The key *is* significant: it is the name the filter will be recognized as.
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66.de>
parents: 184
diff changeset
76 tokenreplace = "pygments_lexer_pseudocode2.filters:TokenReplaceFilter"
b27557f6d393 Allow to build the documentation when the project is not installed
Franz Glasner <fzglas.hg@dom66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