-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (52 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
63 lines (52 loc) · 1.42 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
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
[build-system]
requires = ["setuptools>=62.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ptxprint"
authors = [{name = "SIL", email = "fonts@sil.org"}]
readme = "README.md"
description = "USFM based Bible typesetting (Xe)TeX based application"
classifiers = [
"Environment :: X11 Applications :: GTK",
"Programming Language :: Python :: 3.8",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Topic :: Text Processing :: General"
]
requires-python = ">=3.8"
# commented out dynamic versioning for now
# dynamic = ["version"]
version = "3.0.22"
dependencies = [
"usfmtc @ https://github.com/usfm-bible/usfmtc/archive/main.zip",
"regex",
"fonttools",
"platformdirs",
"Pillow",
"numpy",
"markdown_it-py"
]
[project.optional-dependencies]
git = [ ]
gui = ["pygobject", "pycairo"]
[project.urls]
Home-Page = "https://github.com/sillsdev/ptx2pdf"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
where = ["python/lib"]
namespaces = true
[tool.setuptools.package-dir]
"" = "python/lib"
[tool.setuptools.package-data]
"ptxprint" = ["ptx2pdf/**/*", "xetex/**/*"]
# comment this out for now
#[tool.setuptools.dynamic]
#version = {attr = "ptxprint.view.VersionStr"}
[tool.bdist_wheel]
universal = true
[project.scripts]
ptxprint = "ptxprint.main:main"
pdfdiff = "ptxprint.pdf.pdfdiff:main"
xdvitype = "ptxprint.xdv.xdvtype:main"