-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (32 loc) · 1.06 KB
/
Copy pathpyproject.toml
File metadata and controls
36 lines (32 loc) · 1.06 KB
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
[project]
name = "librebarcode"
version = "0.0.0"
requires-python = "==3.9.*"
dependencies = [
"fontmake==2.3.0",
"font-v==1.0.5",
"gftools==0.5.2",
"setuptools==79.0.1",
"ttfautohint-py==0.6.0",
]
# ttfautohint-py ships the ttfautohint binary as package data and doesn't
# install a console script. fontmake 2.3.0 invokes plain `ttfautohint`
# via subprocess and expects it on PATH. This shim exposes the Python CLI
# wrapper (which locates the bundled binary) in the venv's bin/. (Newer fontmake
# uses the Python API directly; 2.3.0 is pinned for reproducible output.)
[project.scripts]
ttfautohint = "ttfautohint.cli:main"
# `project.scripts` requires the project to be built as a Python package; the
# wheel is empty except for `ttfautohint` above.
[build-system]
requires = ["setuptools==79.0.1"]
build-backend = "setuptools.build_meta"
# This tells setuptools not to go looking for Python modules in this repo.
[tool.setuptools]
py-modules = []
[tool.uv]
constraint-dependencies = [
"fonttools==4.18.1",
"protobuf==3.19.6",
"ufo2ft==2.19.2",
]