-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 2.02 KB
/
pyproject.toml
File metadata and controls
85 lines (75 loc) · 2.02 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
82
83
84
85
[tool.black]
line-length = 79
target-version = ["py36"]
include = '\.py?$'
exclude = '''
/(
thirdparty |
\.eggs |
\.git |
\.hg |
\.mypy_cache |
\.tox |
\.venv |
_build |
buck-out |
build |
dist
)/
'''
[build-system]
requires = ["setuptools", "wheel", "Cython>=3.1"]
[project]
name = "nvtx"
version = "0.2.15"
description="Python NVTX - Python code annotation library"
readme = "README.md"
license = "Apache-2.0 WITH LLVM-exception"
license-files = ["LICENSE.txt"]
authors = [{name = "NVIDIA Corporation"}]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Database",
"Topic :: Scientific/Engineering",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: 3.14",
]
[project.urls]
Homepage = "https://github.com/NVIDIA/NVTX"
Documentation = "https://nvidia.github.io/NVTX/python/"
Repository = "https://github.com/NVIDIA/NVTX"
License = "https://nvidia.github.io/NVTX/LICENSE.txt"
Issues = "https://github.com/NVIDIA/NVTX/issues"
[project.optional-dependencies]
test = ["pytest", "setuptools"]
docs = ["sphinx", "nvidia_sphinx_theme"]
[tool.setuptools.package-data]
"nvtx._lib" = ["*.pxd"]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib", # Recomended by pytest: https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html#choosing-a-test-layout-import-rules
]
[tool.cibuildwheel]
skip = ["*musllinux*", "cp38-*"]
build = "cp*"
test-command = """
pip install numpy
pytest {package}/tests
pytest --enable-injection {package}/tests
pip uninstall -y numpy
pytest {package}/tests
pytest --enable-injection {package}/tests
"""
test-extras = "test"
enable = "cpython-freethreading"
[tool.cibuildwheel.linux]
archs = ["x86_64", "aarch64"]
[tool.cibuildwheel.windows]
archs = ["AMD64"]
[tool.cibuildwheel.macos]
archs = ["all"]