Skip to content

Commit 0c48036

Browse files
authored
Bindings: Add license for NIXL meta package (#956)
Signed-off-by: Ovidiu Mara <[email protected]>
1 parent a92772c commit 0c48036

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/bindings/python/nixl-meta/meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ pyproject_toml = configure_file(
2525

2626
readme_md = fs.copyfile('README.md')
2727

28+
source_root = meson.project_source_root()
29+
root_license_path = join_paths(source_root, 'LICENSE')
30+
license_path = fs.copyfile(root_license_path)
31+
2832
nixl_sources = files('nixl/__init__.py')
2933

3034
subdir('nixl')
@@ -34,7 +38,7 @@ if uv.found()
3438
wheel_name = 'nixl-@[email protected]'.format(meson.project_version())
3539
meta_wheel = custom_target(
3640
'build_nixl_meta',
37-
input: [pyproject_toml, readme_md] + nixl_sources,
41+
input: [pyproject_toml, readme_md, license_path] + nixl_sources,
3842
output: [wheel_name],
3943
command: [uv, 'build', '--wheel', '--out-dir', build_dir, build_dir],
4044
install: false,

src/bindings/python/nixl-meta/pyproject.toml.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ build-backend = "setuptools.build_meta"
2020
[project]
2121
name = "nixl"
2222
version = "@VERSION@"
23-
description = "Meta package for nixl CUDA variants"
23+
description = "NIXL Python API meta package for CUDA variants"
2424
readme = "README.md"
25+
license = {file = 'LICENSE'}
2526
requires-python = ">=3.9"
27+
authors = [
28+
{name = 'NIXL Developers', email = '[email protected]'}
29+
]
2630

2731
dependencies = ["nixl-cu12>=@VERSION@"]
2832

0 commit comments

Comments
 (0)