-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (71 loc) · 2.26 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
82
83
84
85
# pyproject.toml
# py-build-cmake help from https://github.com/tttapa/py-build-cmake/issues/16
[build-system]
requires = ["py-build-cmake~=0.1.9a3"]
build-backend = "py_build_cmake.build"
# --------------- Project -------------------
[project]
name = "pylibjpeg-turbo"
readme = "README.md"
requires-python = ">=3.9"
license = { "file" = "LICENSE" }
authors = [{ name = "Darcy Mason", email = "darcymason@gmail.com" }]
version = "0.1.0"
description = "libjpeg-turbo wrapper, primarily for pydicom plugin"
# see https://pypi.org/classifiers/
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: BSD License",
]
dependencies = [
"PyTurboJPEG"
]
[project.urls]
Source = "https://github.com/pydicom/pylibjpeg-turbo"
[project.optional-dependencies]
dev = [
"black",
"flit",
"keyring",
"pre-commit",
"ruff",
]
docs = [
"mkdocs",
"mkdocstrings[python]",
]
test = [
"pytest >=4.0.0",
"pytest-cov",
"pytest-icdiff",
]
[project.entry-points."pylibjpeg.pixel_data_decoders"]
"1.2.840.10008.1.2.4.50" = "pylibjpeg_turbo:decode_pixel_data"
"1.2.840.10008.1.2.4.51" = "pylibjpeg_turbo:decode_pixel_data"
"1.2.840.10008.1.2.4.57" = "pylibjpeg_turbo:decode_pixel_data"
"1.2.840.10008.1.2.4.70" = "pylibjpeg_turbo:decode_pixel_data"
"1.2.840.10008.1.2.4.80" = "pylibjpeg_turbo:decode_pixel_data"
"1.2.840.10008.1.2.4.81" = "pylibjpeg_turbo:decode_pixel_data"
[project.entry-points."pylibjpeg.jpeg_decoders"]
pylibjpeg_turbo = "pylibjpeg_turbo:decode"
[project.entry-points."pylibjpeg.jpeg_ls_decoders"]
pylibjpeg_turbo = "pylibjpeg_turbo:decode"
[project.entry-points."pylibjpeg.jpeg_xt_decoders"]
pylibjpeg_turbo = "pylibjpeg_turbo:decode"
# --------------- cmake / build -------------------
[tool.py-build-cmake.sdist]
include = ["CMakeLists.txt", "extern/libjpeg-turbo"]
[tool.py-build-cmake.cmake]
minimum_version = "3.17"
build_type = "RelWithDebInfo"
build_args = ["-j"]
install_components = ["shlib"]
abi = 'none'
[tool.cibuildwheel]
build-verbosity = 1
environment = { PY_BUILD_CMAKE_VERBOSE="1" }