-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (73 loc) · 2.85 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (73 loc) · 2.85 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = [
"scikit-build-core",
"vtk-sdk==9.6.0",
"vtk-sdk-python-wheel-helper"
]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
cmake.args = ["-GNinja", "-DCMAKE_BUILD_TYPE=Release"]
[project]
name = "vtk-streaming"
version = "0.3.2"
readme = "README.md"
description = "This module provides classes to encode and stream frames from a VTK OpenGL render window using video codecs."
license = { text = "Apache License" }
authors = [
{ name = "Alexy Pellegrini", email = "alexy.pellegrini@kitware.com" },
]
keywords = ["Python", "VTK"]
dependencies = ["vtk==9.6.0"]
classifiers = [
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: C++",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: 3D Rendering",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
]
[project.urls]
documentation = "https://slicerlayerdisplayablemanager.readthedocs.io"
source = "https://github.com/Kitware/VTKStreaming"
download = "https://pypi.org/project/slicer-layer-dm/#files"
tracker = "https://github.com/Kitware/VTKStreaming/issues"
[project.optional-dependencies]
test = ["pytest", "virtualenv"]
# Shared cibuildwheel config; CI (build-wheels.yml) only adds the
# per-matrix CIBW_BUILD selection. Locally, build the same wheel with e.g.
# `uvx cibuildwheel --only cp310-manylinux_x86_64`.
[tool.cibuildwheel]
# pip installs build requirements inside the build environment, so it needs
# the VTK wheel-SDK index to resolve vtk-sdk.
environment = { PIP_EXTRA_INDEX_URL = "https://vtk.org/files/wheel-sdks" }
# No vtk-sdk wheels exist for musllinux.
skip = "*-musllinux_*"
test-requires = ["pytest", "virtualenv"]
test-command = "python -m pytest {project} --verbose"
[tool.cibuildwheel.linux]
# Required to make tests pass (VTK needs them)
before-all = "yum install -y mesa-libGL-devel glx-utils freeglut-devel"
# Do not repair (no auditwheel), everything is already put just as needed to
# make it work; only retag the platform tag.
repair-wheel-command = [
"python -m pip install wheel",
"python -m wheel tags --platform-tag manylinux_2_28_x86_64 --remove {wheel}",
"cp $(dirname {wheel})/vtk_streaming*.whl {dest_dir}",
]
[tool.cibuildwheel.macos]
# Same as Linux: no delocate, only retag the platform tag.
repair-wheel-command = [
"python -m pip install wheel",
"python -m wheel tags --platform-tag macosx_11_0_arm64 --remove {wheel}",
"cp $(dirname {wheel})/vtk_streaming*.whl {dest_dir}",
]