-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
81 lines (72 loc) · 2.38 KB
/
pyproject.toml
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
[project]
name = "fontknife"
version = "0.2.0"
readme = "README.md"
description = "Rasterize only the glyphs you need."
authors = [
{name="pushfoo"}
]
license = {file = "LICENSE"}
requires-python = ">=3.9"
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Text Processing :: Fonts",
"Topic :: Software Development",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Build Tools",
"Topic :: Games/Entertainment",
"Topic :: Games/Entertainment :: Arcade",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Software Development :: Libraries",
]
dependencies = [
'Pillow~=11.0.0',
'regex~=2024.11.6', # Provides unicode grapheme support
'typing_extensions',
'types-regex~=2024.11.6.20241221'
]
[project.urls]
Homepage = "https://github.com/pushfoo/Fontknife"
Documentation = "https://fontknife.readthedocs.io/en/latest"
Issues = "https://github.com/pushfoo/Fontknife/issues"
Source = "https://github.com/pushfoo/Fontknife"
[project.optional-dependencies]
# Used to build doc, ie readthedocs.org
docs = [
# Allows reading pyproject.toml in a forward-compatible way
'tomli==2.0.1 ; python_version < "3.11"',
'sphinx<9',
'sphinx-rtd-theme~=3.0.2',
]
# Local developer environment
dev = [
'pytest~=8.3.4',
'mypy',
# Allows rebuilding docs/requirements.txt with this command
# pip-compile --extra=docs --output-file=docs/requirements.txt pyproject.toml
'pip-tools==7.4.1'
]
[project.scripts]
fontknife = "fontknife.frontend.__main__:main"
[tool.setuptools.packages.find]
include = ["fontknife", "fontknife.*"]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
norecursedirs = ["doc", ".venv", "env", "dist"]
[tool.mypy]
exclude = [
'fontknife/generate_octo.py',
'fontknife/create_textfont.py'
]